|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.kedwards.swt.persist.FSPersistifier
FSPersistifier.java
This is the default persistifier used by the SWT for non-activatable services. It simply writes checkpoint data to a file.
See http://www.kedwards.com/jini
No warranty expressed or implied; use at your own risk; for educational purposes only.
| Constructor Summary | |
FSPersistifier(java.lang.String loc)
|
|
| 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 newLoc)
Change the "location" of storage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FSPersistifier(java.lang.String loc)
throws java.io.IOException
| Method Detail |
public boolean restorable()
Persistifierrestorable in interface Persistifier
public void checkpoint(TaggedPersistentData data)
throws java.io.IOException
Persistifiercheckpoint in interface Persistifier
public TaggedPersistentData restore()
throws java.io.IOException
Persistifierrestore in interface Persistifierpublic java.lang.String getStorageLocation()
PersistifiergetStorageLocation in interface Persistifier
public void setStorageLocation(java.lang.String newLoc)
throws java.io.IOException
PersistifiersetStorageLocation in interface Persistifier
public void delete()
throws java.io.IOException
Persistifierdelete in interface Persistifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||