org.jgroups.persistence
@Deprecated public interface PersistenceManager
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
Clears the complete NV state from the DB
|
java.io.Serializable |
remove(java.io.Serializable key)
Deprecated.
Remove existing NV from being persisted
|
java.util.Map |
retrieveAll()
Deprecated.
Gives back the Map in last known state
|
void |
save(java.io.Serializable key,
java.io.Serializable val)
Deprecated.
Save new NV pair as serializable objects or if already exist; store
new state
|
void |
saveAll(java.util.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(java.io.Serializable key, java.io.Serializable val) throws CannotPersistException
key
- val
- CannotPersistException;
CannotPersistException
java.io.Serializable remove(java.io.Serializable key) throws CannotRemoveException
key
- valueCannotRemoveException;
CannotRemoveException
void saveAll(java.util.Map map) throws CannotPersistException
map
- CannotPersistException;
CannotPersistException
java.util.Map retrieveAll() throws CannotRetrieveException
CannotRetrieveException;
CannotRetrieveException
void clear() throws CannotRemoveException
CannotRemoveException;
CannotRemoveException
void shutDown()
Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.