Uses of Package
org.apache.activemq.artemis.utils.collections
-
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.client.impl Class Description TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.journal Class Description SparseArrayLinkedList This list share the same motivation and structure of https://en.wikipedia.org/wiki/Unrolled_linked_list: it's a linked list of arrays/chunks ofT.
Differently from anUnrolledLinkedListthis list doesn't optimize addition and removal to achieve a balanced utilization among chunks ie a chunk is removed only if empty and chunks can't be merged. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.journal.impl Class Description ConcurrentLongHashMap Map from long to an Object.ConcurrentLongHashSet Concurrent hash set for primitive longs Provides similar methods as a ConcurrentSet<Long> but since it's an open hash map with linear probing, no node allocations are required to store the values.SparseArrayLinkedList This list share the same motivation and structure of https://en.wikipedia.org/wiki/Unrolled_linked_list: it's a linked list of arrays/chunks ofT.
Differently from anUnrolledLinkedListthis list doesn't optimize addition and removal to achieve a balanced utilization among chunks ie a chunk is removed only if empty and chunks can't be merged. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.message.impl Class Description TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.paging.cursor Class Description LinkedListImpl.Node LinkedListIterator A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or next -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.persistence.impl.journal Class Description ConcurrentLongHashMap Map from long to an Object.TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.replication Class Description SparseArrayLinkedList This list share the same motivation and structure of https://en.wikipedia.org/wiki/Unrolled_linked_list: it's a linked list of arrays/chunks ofT.
Differently from anUnrolledLinkedListthis list doesn't optimize addition and removal to achieve a balanced utilization among chunks ie a chunk is removed only if empty and chunks can't be merged. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.server Class Description LinkedListIterator A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or nextNodeStore This interface is meant to encapsulate the usage ofHashMap<ListID, LongObjectHashMap<ElementType>>The implementation should store the node in such way that you can access it throughNodeStore.getNode(String, long) -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.server.impl Class Description LinkedListImpl.Node LinkedListIterator A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or nextNodeStore This interface is meant to encapsulate the usage ofHashMap<ListID, LongObjectHashMap<ElementType>>The implementation should store the node in such way that you can access it throughNodeStore.getNode(String, long)PriorityLinkedList A type of linked list which maintains items according to a priority and allows adding and removing of elements at both ends, and peeking.
OnlyPriorityLinkedList.size()andPriorityLinkedList.isEmpty()are safe to be called concurrently.RepeatableIterator ResettableIterator -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.core.server.management Class Description TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.jdbc.store.journal Class Description SparseArrayLinkedList This list share the same motivation and structure of https://en.wikipedia.org/wiki/Unrolled_linked_list: it's a linked list of arrays/chunks ofT.
Differently from anUnrolledLinkedListthis list doesn't optimize addition and removal to achieve a balanced utilization among chunks ie a chunk is removed only if empty and chunks can't be merged. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.reader Class Description TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.utils Class Description TypedProperties Property Value Conversion. -
Classes in org.apache.activemq.artemis.utils.collections used by org.apache.activemq.artemis.utils.collections Class Description ConcurrentLongHashMap.EntryProcessor ConcurrentLongHashSet Concurrent hash set for primitive longs Provides similar methods as a ConcurrentSet<Long> but since it's an open hash map with linear probing, no node allocations are required to store the values.ConcurrentLongHashSet.ConsumerLong ConcurrentSet A ConcurrentSetLinkedList LinkedListImpl A linked list implementation which allows multiple iterators to exist at the same time on the queue, and which see any elements added or removed from the queue either directly or via iterators.LinkedListImpl.Node LinkedListIterator A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or nextLongHashSet A hash set implementation of Set<Long> that uses open addressing values.LongHashSet.LongIterator Iterator which supports unboxed access to values.NodeStore This interface is meant to encapsulate the usage ofHashMap<ListID, LongObjectHashMap<ElementType>>The implementation should store the node in such way that you can access it throughNodeStore.getNode(String, long)PriorityLinkedList A type of linked list which maintains items according to a priority and allows adding and removing of elements at both ends, and peeking.
OnlyPriorityLinkedList.size()andPriorityLinkedList.isEmpty()are safe to be called concurrently.RepeatableIterator ResettableIterator TypedProperties Property Value Conversion.TypedProperties.StringValue TypedProperties.StringValue.ByteBufStringValuePool TypedProperties.TypedPropertiesDecoderPools