Package org.infinispan.util
General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and
collections and containers designed to supplement the JDK-provided containers.
-
Class Summary Class Description AbstractControlledLocalTopologyManager Class to be extended to allow some control over the local topology manager when testing Infinispan.AbstractDelegatingCacheCollection<E> AbstractDelegatingCacheSet<E> Same asAbstractDelegatingCacheCollection
except this method implements Set as well.AbstractDelegatingCacheStream<R> Delegate that forwards all the of the method calls to the underlying cache stream.AbstractDelegatingCloseableIteratorCollection<E> Delegating collection that produces closeable iterators and spliterators from the collection returned fromAbstractDelegatingCloseableIteratorCollection.delegate()
method.AbstractDelegatingCloseableIteratorSet<E> ByteString A simple class which encapsulates a byte[] representation of a String using a predefined encoding (currently UTF-8).CacheCollectionMapper<E,R> Deprecated. since 9.2.1 It is recommended to useWriteableCacheCollectionMapper
instead as it allows for constant time contains and other operationsCacheSetMapper<E,R> ACacheSet
that allows for a different set to be mapped as a different instance wtih values replaced on request.Casting Closeables This class is used solely for the purpose of converting classes only in core to corresponding closeable variants.CloseableSuppliedIterator<E> CollectionMapper<E,R> A collection that maps another one to a new one of a possibly different type.CoreImmutables Factory for generating immutable type wrappers for core types.DataContainerRemoveIterator<K,V> This is an iterator that will iterate upon the data container.DependencyGraph<T> Graph to track dependencies between objectsEmbeddedTimeService The default implementation ofTimeService
.EntryWrapper<K,V> Wrapper for CacheEntry(s) that can be used to update the cache when it's value is set.IntSetExternalizer Externalizer to be used for IntSet implementationsKeyValuePair<K,V> Holds logically related key-value pairs or binary tuples.KeyValuePair.Externalizer LazyConcatIterator<E> Iterator implementation that will return all entries from the first iterator.ModuleProperties TheModuleProperties
class represents Infinispan's module service extensions.RangeSet Deprecated. UseRangeSet
insteadReadOnlyCollectionAsSet<T> Assumes that the delegate collection already contains unique elements.ReadOnlyDataContainerBackedKeySet Deprecated. DataContainer keySet method will be removed in the future.SetMapper<E,R> A set that maps another one to a new one of a possibly different type.StripedHashFunction<T> An hash function for stripping.TriangleFunctionsUtil Some utility functions forTriangleDistributionInterceptor
.TypedProperties Deprecated. WriteableCacheCollectionMapper<E,R> A writeable cache collection mapper that also has constant time operations for things such asCollection.contains(Object)
if the underlying Collection does.WriteableCacheSetMapper<E,R> A writeable cache set mapper that also has constant time operations for things such asCollection.contains(Object)
if the underlying Set does. -
Exception Summary Exception Description CyclicDependencyException Thrown when a cyclic dependency existUserRaisedFunctionalException Thrown when client's code passed as a labda expression in commands such asComputeIfAbsentCommand
raises a exception.