|
|||||||||
| Home >> All >> org >> jgroups >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jgroups.persistence
Interface PersistenceManager

- All Known Implementing Classes:
- DBPersistenceManager, FilePersistenceManager
- public interface PersistenceManager
| Method Summary | |
void |
clear()
Clears the complete NV state from the DB |
java.io.Serializable |
remove(java.io.Serializable key)
Remove existing NV from being persisted |
java.util.Map |
retrieveAll()
Gives back the Map in last known state |
void |
save(java.io.Serializable key,
java.io.Serializable val)
Save new NV pair as serializable objects or if already exist; store new state |
void |
saveAll(java.util.Map map)
Use to store a complete map into persistent state |
void |
shutDown()
Used to handle shutdown call the PersistenceManager implementation. |
| Method Detail |
save
public void save(java.io.Serializable key, java.io.Serializable val) throws CannotPersistException
- Save new NV pair as serializable objects or if already exist; store
new state
remove
public java.io.Serializable remove(java.io.Serializable key) throws CannotRemoveException
- Remove existing NV from being persisted
saveAll
public void saveAll(java.util.Map map) throws CannotPersistException
- Use to store a complete map into persistent state
retrieveAll
public java.util.Map retrieveAll() throws CannotRetrieveException
- Gives back the Map in last known state
clear
public void clear()
throws CannotRemoveException
- Clears the complete NV state from the DB
shutDown
public void shutDown()
- Used to handle shutdown call the PersistenceManager implementation.
Persistent engines can leave this implementation empty.
|
|||||||||
| Home >> All >> org >> jgroups >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC