@Deprecated public interface PersistenceManager
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Clears the complete NV state from the DB
|
Serializable |
remove(Serializable key)
Deprecated.
Remove existing NV from being persisted
|
Map |
retrieveAll()
Deprecated.
Gives back the Map in last known state
|
void |
save(Serializable key,
Serializable val)
Deprecated.
Save new NV pair as serializable objects or if already exist; store
new state
|
void |
saveAll(Map map)
Deprecated.
Use to store a complete map into persistent state
|
void |
shutDown()
Deprecated.
Used to handle shutdown call the PersistenceManager implementation.
|
void save(Serializable key, Serializable val) throws CannotPersistException
key - val - CannotPersistException;CannotPersistExceptionSerializable remove(Serializable key) throws CannotRemoveException
key - valueCannotRemoveException;CannotRemoveExceptionvoid saveAll(Map map) throws CannotPersistException
map - CannotPersistException;CannotPersistExceptionMap retrieveAll() throws CannotRetrieveException
CannotRetrieveException;CannotRetrieveExceptionvoid clear()
throws CannotRemoveException
CannotRemoveException;CannotRemoveExceptionvoid shutDown()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.