Class InternalCacheSet<E>

    • Constructor Detail

      • InternalCacheSet

        public InternalCacheSet()
    • Method Detail

      • localPublisher

        public abstract org.reactivestreams.Publisher<E> localPublisher​(int segment)
        Description copied from interface: CacheCollection
        Returns a publisher that will publish all elements that map to the given segment. Note this publisher may require going remotely to retrieve elements depending on the underlying configuration and flags applied to the original Cache used to create this CacheCollection.
        Specified by:
        localPublisher in interface CacheCollection<E>
        Parameters:
        segment - the segment that all published elements belong to
        Returns:
        Publisher that will publish the elements for the given segment
      • localPublisher

        public abstract org.reactivestreams.Publisher<E> localPublisher​(IntSet segments)
        Description copied from interface: CacheCollection
        Returns a publisher that will publish all elements that map to the given segment. Note this publisher may require going remotely to retrieve elements depending on the underlying configuration and flags applied to the original Cache used to create this CacheCollection.
        Specified by:
        localPublisher in interface CacheCollection<E>
        Parameters:
        segments - the segments that all published elements belong to
        Returns:
        Publisher that will publish the elements for the given segments
      • removeIf

        public final boolean removeIf​(Predicate<? super E> filter)
      • forEach

        public final void forEach​(Consumer<? super E> action)
      • size

        public final int size()
      • isEmpty

        public final boolean isEmpty()
      • contains

        public final boolean contains​(Object o)
      • toArray

        public final Object[] toArray()
      • toArray

        public final <T> T[] toArray​(T[] a)
      • add

        public final boolean add​(E e)
      • remove

        public final boolean remove​(Object o)
      • containsAll

        public final boolean containsAll​(Collection<?> c)
      • addAll

        public final boolean addAll​(Collection<? extends E> c)
      • removeAll

        public final boolean removeAll​(Collection<?> c)
      • retainAll

        public final boolean retainAll​(Collection<?> c)
      • clear

        public final void clear()