|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
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
com.tangosol.util.WrapperCollections.ConcurrentWrapperEntrySet
public static class WrapperCollections.ConcurrentWrapperEntrySet
Map Entry Set implementation which uses a ReadWriteLock to manage concurrent access to the underlying Entry objects.
Field Summary | |
---|---|
protected boolean |
m_fStrict Determines whether or not all of the Entry methods are protected; if set to true, then all Entry methods are protected. |
Fields inherited from class com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection |
---|
m_lock, m_lockExclusive, m_lockShared |
Constructor Summary | |
---|---|
protected |
WrapperCollections.ConcurrentWrapperEntrySet(java.util.Set set, java.util.concurrent.locks.ReadWriteLock lock, boolean fStrict) Create an ConcurrentWrapperSet which delegates to the specified Set. |
Method Summary | |
---|---|
java.util.Iterator |
iterator() Returns an iterator over the elements in this collection. |
Methods inherited from class com.tangosol.util.WrapperCollections.ConcurrentWrapperSet |
---|
getDelegate |
Methods inherited from class com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection |
---|
add, addAll, clear, contains, containsAll, equals, getLock, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
---|
protected final boolean m_fStrict
Constructor Detail |
---|
protected WrapperCollections.ConcurrentWrapperEntrySet(java.util.Set set, java.util.concurrent.locks.ReadWriteLock lock, boolean fStrict)
set
- the Set to delegate all calls tolock
- a read/write lock for concurrency managementfStrict
- pass true to protect all Entry methods; false to protect only the setValue() methodMethod Detail |
---|
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.Set
iterator
in class WrapperCollections.ConcurrentWrapperCollection
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |