Liferay 7.0-ce-m3

com.liferay.portal.nio.intraband.proxy
Class StubMap<T>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentHashMap<String,T>
          extended by com.liferay.portal.nio.intraband.proxy.StubMap<T>
All Implemented Interfaces:
Serializable, ConcurrentMap<String,T>, Map<String,T>

public class StubMap<T>
extends ConcurrentHashMap<String,T>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
StubMap(StubHolder.StubCreator<T> stubCreator)
           
 
Method Summary
 T get(Object key)
           
 boolean removeStubHolder(String portletId, T stub)
           
 
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, contains, containsKey, containsValue, elements, entrySet, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

StubMap

public StubMap(StubHolder.StubCreator<T> stubCreator)
Method Detail

get

public T get(Object key)
Specified by:
get in interface Map<String,T>
Overrides:
get in class ConcurrentHashMap<String,T>

removeStubHolder

public boolean removeStubHolder(String portletId,
                                T stub)

Liferay 7.0-ce-m3