|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnapshotHandler
Interface a server needs to implement in order to work with a PersistentStore to determine whether a snapshot should be taken
| Method Summary | |
|---|---|
void |
takeSnapshot()
Invoked to trigger persistent state be written and committed to a recoverable resource |
void |
updatePerformed(int updateCount)
Called by PersistentStore after every update to give
server a chance to trigger a snapshot |
| Method Detail |
|---|
void takeSnapshot()
throws IOException
IOException - if an error occursvoid updatePerformed(int updateCount)
PersistentStore after every update to give
server a chance to trigger a snapshot
updateCount - Number of updates since last snapshot
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||