|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.storage.sync.Sync
This class is registered with the SyncDaemon
.
It will periodically trigger a cache sync to write cached pages to disk.
Field Summary | |
static int |
MAJOR_SYNC
|
static int |
MINOR_SYNC
|
Constructor Summary | |
Sync(BrokerPool pool,
long majorSyncPeriod)
|
Method Summary | |
void |
restart()
|
void |
run()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MINOR_SYNC
public static final int MAJOR_SYNC
Constructor Detail |
public Sync(BrokerPool pool, long majorSyncPeriod)
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void restart()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |