public class DefaultRecoveryStore<K> extends java.lang.Object implements RecoveryStore<K>
RecoveryStore
.
It maps each obliterate operation to the equivalent remove operation.Constructor and Description |
---|
DefaultRecoveryStore(Store<K,?> store) |
Modifier and Type | Method and Description |
---|---|
void |
obliterate()
Obliterate all keys in a store.
|
void |
obliterate(K key)
Obliterate a given key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
obliterate
public void obliterate() throws StoreAccessException
RecoveryStore
obliterate
in interface RecoveryStore<K>
StoreAccessException
- in case of store failurepublic void obliterate(K key) throws StoreAccessException
RecoveryStore
obliterate
in interface RecoveryStore<K>
key
- the key to obliterateStoreAccessException
- in case of store failure