Public Member Functions | |
SetCheckpoint (VirtualDatabaseAdmin module) | |
void | parse (String commandText) throws Exception |
String | getCommandName () |
String | getCommandDescription () |
String | getCommandParameters () |
Definition at line 40 of file SetCheckpoint.java.
|
Creates a new
Definition at line 48 of file SetCheckpoint.java. 00049 { 00050 super(module); 00051 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 82 of file SetCheckpoint.java. 00083 { 00084 return ConsoleTranslate.get("admin.command.set.checkpoint"); 00085 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 74 of file SetCheckpoint.java. 00075 { 00076 return "setCheckpoint"; 00077 }
|
|
Reimplemented from org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 90 of file SetCheckpoint.java. 00091 { 00092 return "<backendName> <checkpoint>"; 00093 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 56 of file SetCheckpoint.java. References org.objectweb.cjdbc.console.text.Console.println(). 00057 { 00058 StringTokenizer st = new StringTokenizer(commandText); 00059 if (st.countTokens() != 2) 00060 throw new ConsoleException(ConsoleTranslate 00061 .get("console.error.invalid.comment.argument")); 00062 String backendName = st.nextToken(); 00063 String checkpointName = st.nextToken(); 00064 console.println(ConsoleTranslate.get("admin.command.set.checkpoint.echo", 00065 new String[]{backendName, checkpointName})); 00066 VirtualDatabaseMBean vdjc = jmxClient.getVirtualDatabaseProxy(dbName, user, 00067 password); 00068 vdjc.setBackendLastKnownCheckpoint(backendName, checkpointName); 00069 }
|