Package org.apache.pulsar.common.util.collections
Set of different collections working in the concurrent environment.
-
Interface Summary Interface Description ConcurrentLongHashMap.EntryProcessor<V> Processor for one key-value entry, where the key islong
.ConcurrentLongLongPairHashMap.BiConsumerLongPair A BiConsumer Long pair.ConcurrentLongLongPairHashMap.LongLongPairFunction A Long pair function.ConcurrentLongLongPairHashMap.LongLongPairPredicate A Long pair predicate.ConcurrentLongPairSet.ConsumerLong Represents a function that accepts an object of theLongPair
type.ConcurrentLongPairSet.LongPairConsumer Represents a function that accepts two long arguments.GrowablePriorityLongPairQueue.LongPairConsumer Represents a function that accepts two long arguments.GrowablePriorityLongPairQueue.LongPairPredicate Predicate to checks for a key-value pair where both of them have long types.LongPairRangeSet<T extends java.lang.Comparable<T>> A set comprising zero or more ranges type of key-value pair.LongPairRangeSet.LongPairConsumer<T> Represents a function that accepts two long arguments and produces a result.LongPairRangeSet.RangeProcessor<T extends java.lang.Comparable<T>> The interface exposing a method for processing of ranges.LongPairSet Hash set where values are composed of pairs of longs.LongPairSet.LongPairFunction<T> Represents a function that accepts two long arguments and produces a result.LongPairSet.LongPairPredicate Predicate to checks for a key-value pair where both of them have long types. -
Class Summary Class Description BitSetRecyclable This this copy ofBitSet
.ConcurrentBitSet Safe multithreaded version ofBitSet
.ConcurrentBitSetRecyclable Safe multithreaded version ofBitSet
and leverage netty recycler.ConcurrentLongHashMap<V> Map from long to an Object.ConcurrentLongHashMap.Builder<T> Builder of ConcurrentLongHashMap.ConcurrentLongLongPairHashMap Concurrent hash map where both keys and values are composed of pairs of longs.ConcurrentLongLongPairHashMap.Builder Builder of ConcurrentLongLongPairHashMap.ConcurrentLongLongPairHashMap.LongPair A pair of long values.ConcurrentLongPairSet Concurrent hash set where values are composed of pairs of longs.ConcurrentLongPairSet.Builder Builder of ConcurrentLongPairSet.ConcurrentLongPairSet.LongPair Class representing two long values.ConcurrentOpenHashMap<K,V> Concurrent hash map.ConcurrentOpenHashMap.Builder<K,V> Builder of ConcurrentOpenHashMap.ConcurrentOpenHashSet<V> Concurrent hash set.ConcurrentOpenHashSet.Builder<V> Builder of ConcurrentOpenHashSet.ConcurrentOpenLongPairRangeSet<T extends java.lang.Comparable<T>> A Concurrent set comprising zero or more ranges of typeLongPairRangeSet.LongPair
.ConcurrentSortedLongPairSet Sorted concurrentLongPairSet
which is not fully accurate in sorting.GrowableArrayBlockingQueue<T> This implements aBlockingQueue
backed by an array with no fixed capacity.GrowablePriorityLongPairQueue An unbounded priority queue based on a min heap where values are composed of pairs of longs.GrowablePriorityLongPairQueue.LongPair Class representing two long values.LongPairRangeSet.DefaultRangeSet<T extends java.lang.Comparable<T>> Generic implementation of a default range set.LongPairRangeSet.LongPair This class is a simple key-value data structure.SegmentedLongArray TripleLongPriorityQueue Provides a priority-queue implementation specialized on items composed by 3 longs.