Liferay 7.0-ce-b4

com.liferay.portal.nio.intraband.proxy
Class StubMapImpl<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.StubMapImpl<T>
All Implemented Interfaces:
StubMap<T>, Serializable, ConcurrentMap<String,T>, Map<String,T>

public class StubMapImpl<T>
extends ConcurrentHashMap<String,T>
implements StubMap<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
StubMapImpl(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.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
 

Constructor Detail

StubMapImpl

public StubMapImpl(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)
Specified by:
removeStubHolder in interface StubMap<T>

Liferay 7.0-ce-b4