public class SynchronizationRunner
extends java.lang.Object
implements java.lang.Runnable
ISynchronizer
)
and implement the synchronization process over them.Modifier and Type | Field and Description |
---|---|
static short |
INVALIDATE_AND_VERIFY |
static short |
VERIFY_ONLY |
Constructor and Description |
---|
SynchronizationRunner() |
SynchronizationRunner(short mode) |
Modifier and Type | Method and Description |
---|---|
static void |
end() |
void |
execute(boolean wait) |
static java.lang.Long |
getLastSyncCompleted() |
static java.lang.Long |
getLastSyncStarted() |
java.util.List<java.lang.String> |
getLog() |
short |
getMode() |
void |
run() |
static boolean |
sequenceExecuting() |
void |
setKeepLog(boolean keepLog) |
void |
setMode(short mode) |
void |
setWhenDone(java.lang.Runnable whenDone) |
static void |
start() |
public static final short INVALIDATE_AND_VERIFY
public static final short VERIFY_ONLY
public SynchronizationRunner()
public SynchronizationRunner(short mode)
public static boolean sequenceExecuting()
public static java.lang.Long getLastSyncStarted()
public static java.lang.Long getLastSyncCompleted()
public static void start()
public static void end()
public void setKeepLog(boolean keepLog)
public java.util.List<java.lang.String> getLog()
public void setWhenDone(java.lang.Runnable whenDone)
public void setMode(short mode)
public short getMode()
public void run()
run
in interface java.lang.Runnable
public void execute(boolean wait)