org.apache.gora.persistency
Interface StatefulMap<K,V>
- All Superinterfaces:
- Map<K,V>
- All Known Implementing Classes:
- StatefulHashMap
public interface StatefulMap<K,V>
- extends Map<K,V>
StatefulMap extends the Map interface to keep track of the
persistency states of individual elements in the Map.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
getState
State getState(K key)
putState
void putState(K key,
State state)
states
Map<K,State> states()
clearStates
void clearStates()
reuse
void reuse()
- Reuse will clear the map completely with states. This is different
from
Map.clear()
in that the latter only sets entries to deleted.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.