com.sptci.prevayler
Class PrevalentSystemFactory.SnapshotTask
java.lang.Object
java.util.TimerTask
com.sptci.prevayler.PrevalentSystemFactory.SnapshotTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- PrevalentSystemFactory
private static class PrevalentSystemFactory.SnapshotTask
- extends TimerTask
A TimerTask that is used to snapshot the prevayler periodically.
|
Method Summary |
void |
run()
The action to be performed by this task when run by a Timer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prevayler
private final Prevayler prevayler
- The prevalent system to snapshot.
PrevalentSystemFactory.SnapshotTask
private PrevalentSystemFactory.SnapshotTask(Prevayler prevayler)
- Create a new instance of the task for the specified system.
- Parameters:
prevayler - The prevayler instance to snapshot.
run
public void run()
- The action to be performed by this task when run by a
Timer.
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask