public interface PersistenceManager
| Modifier and Type | Method and Description |
|---|---|
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.
|
void save(java.io.Serializable key,
java.io.Serializable val)
throws CannotPersistException
key - val - CannotPersistException;CannotPersistExceptionjava.io.Serializable remove(java.io.Serializable key)
throws CannotRemoveException
key - valueCannotRemoveException;CannotRemoveExceptionvoid saveAll(java.util.Map map)
throws CannotPersistException
map - CannotPersistException;CannotPersistExceptionjava.util.Map retrieveAll()
throws CannotRetrieveException
CannotRetrieveException;CannotRetrieveExceptionvoid clear()
throws CannotRemoveException
CannotRemoveException;CannotRemoveExceptionvoid shutDown()
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.