|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection
com.tangosol.util.WrapperCollections.ConcurrentWrapperSet
public static class WrapperCollections.ConcurrentWrapperSet
Set implementation which uses a ReadWriteLock to manage concurrent access to an underlying Set.
Field Summary |
---|
Fields inherited from class com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection |
---|
m_lock, m_lockExclusive, m_lockShared |
Constructor Summary | |
---|---|
|
WrapperCollections.ConcurrentWrapperSet(java.util.Set set) Create an ConcurrentWrapperSet which delegates to the specified Set. |
protected |
WrapperCollections.ConcurrentWrapperSet(java.util.Set set, java.util.concurrent.locks.ReadWriteLock lock) Create an ConcurrentWrapperSet which delegates to the specified Set. |
Method Summary | |
---|---|
protected java.util.Set |
getDelegate() Return the Set to which all operations should be delegated to. |
Methods inherited from class com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection |
---|
add, addAll, clear, contains, containsAll, equals, getLock, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
---|
public WrapperCollections.ConcurrentWrapperSet(java.util.Set set)
set
- the Set to delegate all calls toprotected WrapperCollections.ConcurrentWrapperSet(java.util.Set set, java.util.concurrent.locks.ReadWriteLock lock)
set
- the Set to delegate all calls tolock
- a read/write lock for concurrency managementMethod Detail |
---|
protected java.util.Set getDelegate()
getDelegate
in class WrapperCollections.ConcurrentWrapperCollection
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |