Package io.deephaven.util.datastructures
-
Interface Summary Interface Description LongAbortableConsumer Note this is similar to java.util.function.LongPredicate; we don't use that since it could create confusion as for intended semantics for use.LongRangeAbortableConsumer LongRangeConsumer LongRangeIterator LongSizedDataStructure Common interface for Deephaven data structures with a long (64-bit signed integer) size.ReleaseTracker<RESOURCE_TYPE> Instrumentation tool for detecting missing resource releases.ReleaseTracker.Factory -
Class Summary Class Description LazyCachingSupplier<T> Supplier
wrapper that caches the result in aSoftReference
.RandomAccessDeque<T> A deque, which also supports get() to an arbitrary index.ReleaseTracker.StrictReleaseTracker<RESOURCE_TYPE> ReleaseTracker.WeakReleaseTracker<RESOURCE_TYPE> SegmentedSoftPool<ELEMENT_TYPE> Re-usable data structure for a segmented stack of pooled elements which tries to strike a balance between GC-sensitivity and element reuse.SimpleReferenceManager<T,R extends SimpleReference<T>> A helper for managing a list of References.SortedIndexableMapWrapper<K,V> This is a simple utility class that wraps a map, and presents it as an IndexableMap.SubscriptionSet<LISTENER_TYPE> Array-backed set that stores generic listener objects, only enforcing hard reachability on listeners that are SubstitutionWeakReferences.WeakIdentityHashSet<TYPE> An open-addressed identity hash set that only maintains weak references to its members.WeakIdentityHashSet.Synchronized<TYPE> Thread-safe implementation. -
Exception Summary Exception Description ReleaseTracker.AlreadyAcquiredException ReleaseTracker.AlreadyReleasedException ReleaseTracker.LeakedException ReleaseTracker.MissedReleaseException ReleaseTracker.UnmatchedAcquireException SizeException Unchecked exception thrown when operations are invoked (directly or indirectly) that cannot be completed correctly due to size constraints on the underlying data structures.