|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.consistency.DataScanCtrl
public class DataScanCtrl
This class defines a DataScanCtrl that implements a utility to access DataScan methods. See the printHelp() command for a description of current commands.
| Method Summary | |
|---|---|
protected static void |
fail()
Exit with a process failure code. |
protected static void |
fatal(java.lang.String msg,
java.lang.Throwable t)
Abort following a fatal error. |
protected static boolean |
getBoolOrFalse(java.lang.Boolean bool)
Returns a value of a given Boolean object or false if the object is null. |
void |
go()
Process commands. |
static boolean |
isNumericCol(Column col)
Returns if the given column is of numeric type. |
static void |
main(java.lang.String[] argv)
Main method to run utility. |
protected static void |
print(java.lang.String msg)
Print a message to stdout without trailing new line character. |
protected static void |
printHelp()
|
protected static void |
println(java.lang.String msg)
Print a message to stdout with trailing new line character. |
protected static boolean |
readYes()
Reads a character from stdin, blocks until it is not received. |
protected static void |
succeed()
Exit with a process success code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(java.lang.String[] argv)
argv - optional command stringpublic void go()
public static boolean isNumericCol(Column col)
protected static void printHelp()
protected static void println(java.lang.String msg)
msg - protected static void print(java.lang.String msg)
msg -
protected static void fatal(java.lang.String msg,
java.lang.Throwable t)
msg - t - protected static void fail()
protected static void succeed()
protected static boolean readYes()
throws java.io.IOException
java.io.IOExceptionprotected static boolean getBoolOrFalse(java.lang.Boolean bool)
bool - Boolean object to check and return.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||