org.jtoolkit.essence.data
Interface ClusterMap<K,V>

All Superinterfaces:
javax.cache.Cache<K,V>, java.util.concurrent.ConcurrentMap<K,V>, java.util.Map<K,V>

public interface ClusterMap<K,V>
extends java.util.concurrent.ConcurrentMap<K,V>, javax.cache.Cache<K,V>

Extends java.util.Map, the concurrent's ConcurrentMap and JCache's Cache.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 Event.ListenerSet getListenerSet()
           
 int removeMatching(Predicate<? super org.jtoolkit.essence.data.impl.MetaData<K,V>> predicate)
           
 java.util.Map<K,V> selectMatching(Predicate<? super org.jtoolkit.essence.data.impl.MetaData<K,V>> predicate)
           
<R> R
visit(Visitor<ClusterMap<K,V>,R> visitor)
           
 
Methods inherited from interface java.util.concurrent.ConcurrentMap
putIfAbsent, remove, replace, replace
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface javax.cache.Cache
addListener, evict, get, getAll, getCacheEntry, getCacheStatistics, load, loadAll, peek, removeListener
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getListenerSet

Event.ListenerSet getListenerSet()

visit

@Nullable
<R> R visit(Visitor<ClusterMap<K,V>,R> visitor)

selectMatching

java.util.Map<K,V> selectMatching(Predicate<? super org.jtoolkit.essence.data.impl.MetaData<K,V>> predicate)

removeMatching

int removeMatching(Predicate<? super org.jtoolkit.essence.data.impl.MetaData<K,V>> predicate)


Copyright © Peter Lawrey. All Rights Reserved.