Class WrapperCollections.ConcurrentWrapperEntrySet<K,V>

All Implemented Interfaces:
Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>
Enclosing class:
WrapperCollections

public static class WrapperCollections.ConcurrentWrapperEntrySet<K,V> extends WrapperCollections.ConcurrentWrapperSet<Map.Entry<K,V>> implements Set<Map.Entry<K,V>>
Map Entry Set implementation which uses a ReadWriteLock to manage concurrent access to the underlying Entry objects.
Since:
Coherence 3.7
  • Field Details

    • m_fStrict

      protected final boolean m_fStrict
      Determines whether or not all of the Entry methods are protected; if set to true, then all Entry methods are protected.
  • Constructor Details

    • ConcurrentWrapperEntrySet

      protected ConcurrentWrapperEntrySet(Set<Map.Entry<K,V>> set, ReadWriteLock lock, boolean fStrict)
      Create an ConcurrentWrapperSet which delegates to the specified Set.
      Parameters:
      set - the Set to delegate all calls to
      lock - a read/write lock for concurrency management
      fStrict - pass true to protect all Entry methods; false to protect only the setValue() method
  • Method Details