IMudPeerpublic interface PersistentPeer
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isRestoring() |
An implementation uses this to tell its Persistent
that it is in the middle of restoring.
|
void |
restore() |
Gets data about this peer from storage and gives it
back to the object for which this peer exists.
|
void |
save() |
Triggers a save of its peer.
|
void |
setPersistent(Persistent ob) |
Assigns a persistent object to this peer for
persistence operations.
|
void restore()
throws PersistenceException
PersistenceException - if an error occurs during restorevoid save() throws PersistenceException
PersistenceException - if a problem occurs in savingvoid setPersistent(Persistent ob)
ob - the implementation of com.planet_ink.coffee_mud.core.intermud.i3.persist.Persistent that this is a peer forPersistentboolean isRestoring()