|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Persistifier.java
This is an interface for classes that know how to persistify and restore data from a Jini service wrapper.
See http://www.kedwards.com/jini
No warranty expressed or implied; use at your own risk; for educational purposes only.
| Method Summary | |
void |
checkpoint(TaggedPersistentData data)
Write the persistent data to stable storage. |
void |
delete()
Irrevocably remote persistent storage. |
java.lang.String |
getStorageLocation()
Get the "location" of storage. |
boolean |
restorable()
Is the persistifier able to restore any prior state? This method may return false if, for instance, the service has never before been checkpointed. |
TaggedPersistentData |
restore()
Read persistent data from stable storage and return it. |
void |
setStorageLocation(java.lang.String loc)
Change the "location" of storage. |
| Method Detail |
public boolean restorable()
public void checkpoint(TaggedPersistentData data)
throws java.io.IOException
public TaggedPersistentData restore()
throws java.io.IOException
public java.lang.String getStorageLocation()
public void setStorageLocation(java.lang.String loc)
throws java.io.IOException
public void delete()
throws java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||