org.jgroups.persistence
public interface PersistenceManager
Method Summary | |
---|---|
void | clear()
Clears the complete NV state from the DB |
Serializable | remove(Serializable key)
Remove existing NV from being persisted |
Map | retrieveAll()
Gives back the Map in last known state |
void | save(Serializable key, Serializable val)
Save new NV pair as serializable objects or if already exist; store
new state |
void | saveAll(Map map)
Use to store a complete map into persistent state |
void | shutDown()
Used to handle shutdown call the PersistenceManager implementation.
|
Throws: CannotRemoveException;
Parameters: key value
Returns: Serializable; gives back the value
Throws: CannotRemoveException;
Returns: Map;
Throws: CannotRetrieveException;
Parameters: key val
Throws: CannotPersistException;
Parameters: map
Throws: CannotPersistException;