org.granite.client.persistence.collection
Class PersistentMap<K,V>
java.lang.Object
org.granite.client.persistence.collection.AbstractPersistentCollection<C>
org.granite.client.persistence.collection.AbstractPersistentMapCollection<K,V,Map<K,V>>
org.granite.client.persistence.collection.PersistentMap<K,V>
- All Implemented Interfaces:
- Externalizable, Serializable, Map<K,V>, PersistentCollection
public class PersistentMap<K,V>
- extends AbstractPersistentMapCollection<K,V,Map<K,V>>
- implements Map<K,V>
- Author:
- Franck WOLFF
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
protected org.granite.messaging.persistence.PersistentCollectionSnapshot |
createSnapshot(boolean forReading)
|
protected void |
updateFromSnapshot(ObjectInput in,
org.granite.messaging.persistence.PersistentCollectionSnapshot snapshot)
|
| Methods inherited from class org.granite.client.persistence.collection.AbstractPersistentMapCollection |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, put, putAll, remove, size, values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
PersistentMap
public PersistentMap()
PersistentMap
public PersistentMap(Map<K,V> collection)
PersistentMap
public PersistentMap(Map<K,V> collection,
boolean clone)
createSnapshot
protected org.granite.messaging.persistence.PersistentCollectionSnapshot createSnapshot(boolean forReading)
- Specified by:
createSnapshot in class AbstractPersistentCollection<Map<K,V>>
updateFromSnapshot
protected void updateFromSnapshot(ObjectInput in,
org.granite.messaging.persistence.PersistentCollectionSnapshot snapshot)
- Specified by:
updateFromSnapshot in class AbstractPersistentCollection<Map<K,V>>