Class WrapperCollections.ConcurrentWrapperSet<E>

java.lang.Object
com.tangosol.util.WrapperCollections.ConcurrentWrapperCollection<E>
com.tangosol.util.WrapperCollections.ConcurrentWrapperSet<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
Direct Known Subclasses:
WrapperCollections.ConcurrentWrapperEntrySet
Enclosing class:
WrapperCollections

public static class WrapperCollections.ConcurrentWrapperSet<E> extends WrapperCollections.ConcurrentWrapperCollection<E> implements Set<E>
Set implementation which uses a ReadWriteLock to manage concurrent access to an underlying Set.
Since:
Coherence 3.7
  • Constructor Details

    • ConcurrentWrapperSet

      public ConcurrentWrapperSet(Set<E> set)
      Create an ConcurrentWrapperSet which delegates to the specified Set.
      Parameters:
      set - the Set to delegate all calls to
    • ConcurrentWrapperSet

      protected ConcurrentWrapperSet(Set<E> set, ReadWriteLock lock)
      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
  • Method Details