|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Checkpointed.java
Things that can be checkpointed implement this interface.
See http://www.kedwards.com/jini
No warranty expressed or implied; use at your own risk; for educational purposes only.
Method Summary | |
void |
getCheckpointData(TaggedPersistentData data)
This method is called whenever a checkpoint is in progress, to collect the data to be checkpointed from all checkpointable entities. |
void |
setCheckpointData(TaggedPersistentData data)
This method is called whenever a restore is in progress, to notify all the restorable entities of the recovered data. |
Method Detail |
public void getCheckpointData(TaggedPersistentData data) throws java.io.IOException
data
- The datastructure to which data to be checkpointed should
be added.public void setCheckpointData(TaggedPersistentData data) throws java.io.IOException, java.lang.ClassNotFoundException
data
- The datastructure from which data to be recovered should
be extracted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |