org.terracotta.toolkit.collections
Interface ToolkitMap<K,V>

All Superinterfaces:
ConcurrentMap<K,V>, Destroyable, Map<K,V>, ToolkitLockedObject, ToolkitObject
All Known Subinterfaces:
ToolkitSortedMap<K,V>

public interface ToolkitMap<K,V>
extends ConcurrentMap<K,V>, ToolkitLockedObject, Destroyable

A toolkit Map. The map performs all mutative operations under the write lock from ToolkitLockedObject.getReadWriteLock() and all read operations under the read lock from the same.

Consult the Toolkit class level docs for more info on behavior regarding destroy.

Trying to add values that are not serializable will throw NotSerializableRuntimeException.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 
Methods inherited from interface java.util.concurrent.ConcurrentMap
putIfAbsent, remove, replace, replace
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.terracotta.toolkit.object.ToolkitLockedObject
getReadWriteLock
 
Methods inherited from interface org.terracotta.toolkit.object.ToolkitObject
getName
 
Methods inherited from interface org.terracotta.toolkit.object.Destroyable
destroy, isDestroyed
 



Copyright © 2014 Terracotta, Inc.. All Rights Reserved.