Commons package providing various utility classes
Interface Summary Interface Description CloseableIterable<E> CloseableIterator<E> CloseableIteratorCollection<E>A collection that defines an iterator method that returns a
CloseableIteratorinstead of a non closeable one.
CloseableIteratorSet<E>A set that defines an iterator method that returns a
CloseableIteratorinstead of a non closeable one.
CloseableSpliterator<T> EntrySizeCalculator<K,V> EvictionListener<K,V>Eviction listener that is notified when entries are evicted from the underlying container due to the given eviction policy. FileLookup Immutables.Immutable InfinispanCollections.Function<E,T>A function that converts a type into another one. InfinispanCollections.MapMakerFunction<K,V,E>A function that converts an entry into a key/value pair for use in a map. InjectiveFunction<T,R>This is a marker interface to be used with
Functionwhich signals to some implementors that the function returns distinct values.
IntSetA set that represents primitive ints. PeekableMap<K,V> ReversibleOrderedSet<E>A set that allows reverse iteration of the set elements, exposed via the
Class Summary Class Description AbstractDelegatingCollection<E>Delegating collection that delegates all calls to the collection returned from
AbstractDelegatingConcurrentMap<K,V> AbstractDelegatingMap<K,V> AbstractDelegatingSet<E> AbstractEntrySizeCalculatorHelper<K,V>Abstract class that provides a method to round up to the nearest value of 8 which is important for most jvm when doing size calculations. AbstractFileLookup AbstractIterator<E>Abstract iterator that allows overriding just the
AbstractIterator.getNext()method to implement it.
AbstractMap<K,V>Similar to the JDK's AbstractMap, this provides common functionality for custom map implementations. AbstractMap.SimpleEntry<K,V> AggregatedClassLoaderA ClassLoader that delegates loading of classes and resources to a list of delegate ClassLoaders. ArrayCollector ArrayMap<K,V>Base for classes that implement hash map by storing keys in one array and values in another. Base64 Deprecated.Not currently used internally by Infinispan; will be removed in ver. Base64.InputStreamA
Base64.InputStreamwill read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStreamwill write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BeanUtilsSimple JavaBean manipulation helper methods BlueprintGenerator ByRef<T>This class can be used to pass an argument by reference. ByRef.BooleanImplementation for primitive type ByRef.Integer ClassFinderFind infinispan classes utility CloseableIteratorCollectionAdapter<E> CloseableIteratorMapper<E,S> Deprecated.since 9.3 users can just use
IteratorMapperas it handles CloseableIterators now
CloseableIteratorSetAdapter<E> CloseablesThis class consists exclusively of static methods that operate on or return closeable interfaces. CloseableSpliteratorMapper<E,S> Deprecated.since 9.3 users can just use
SpliteratorMapperas it handles CloseableSpliterators now
CollectionFactoryA factory for ConcurrentMaps. ConcatIterator<E>Iterator that concatenates a bunch of iterables into 1 big iterator. Either<A,B> EnumerationList<T>An Enumeration → List adaptor EnumUtilUtilities method to Enums. FastCopyHashMap<K,V>A HashMap that is optimized for fast shallow copies. FeaturesFeatures allow conditional enabling/disabling of Infinispan's functionality. FileLookupFactory FileLookupFactory.DefaultFileLookup FilterIterator<E>Iterator that also filters out entries based on the provided predicate. FilterSpliterator<T>Spliterator that only returns entries that pass the given predicate. FlattenSpliterator<E>Composes an array of Collections into a spliterator. ForwardingList<E>A list which forwards all its method calls to another list. GlobUtilsUtility functions for globs HopscotchHashMap<K,V>Lookup on a table without collisions will require only single access, if there are collisions it will be limited to (number of collisions to particular bin + 1) and all those will lie in proximity (32 * reference size). ImmutableHopscotchHashSet<E> ImmutableIntSet Deprecated.since 9.3 This class will no longer be public, please use
ImmutableListCopy<E>A lightweight, read-only copy of a List. ImmutablesFactory for generating immutable type wrappers. Immutables.ImmutableIteratorWrapper<E> Immutables.ImmutableMapWrapperExternalizer Immutables.ImmutableSetWrapperExternalizer InfinispanCollectionsStatic helpers for Infinispan-specific collections IntSetsStatic utility class for creating various
IntSetsExternalizationIntSets externalization mechanism IteratorMapper<E,S>A iterator that maps each value to the output of the Function. KeyValueWithPrevious<K,V> KeyValueWithPrevious.KeyValueWithPreviousExternalizer LegacyKeySupportSystemPropertiesA wrapper around system properties that supports legacy keys ObjectDuplicatorA helper that efficiently duplicates known object types. OsgiClassLoader ProcessorInfoProvides general information about the processors on this host. ProxiesProxies is a collection of useful dynamic profixes. RangeSet Deprecated.since 9.3 This class will no longer be public. ReflectionUtilBasic reflection utilities to enhance what the JDK provides. RemovableCloseableIterator<C>A CloseableIterator implementation that allows for a CloseableIterator that doesn't allow remove operations to implement remove by delegating the call to the provided consumer to remove the previously read value. RemovableIterator<C>An Iterator implementation that allows for a Iterator that doesn't allow remove operations to implement remove by delegating the call to the provided consumer to remove the previously read value. SaslUtilsUtility methods for handling SASL authentication ServiceFinderServiceFinder is a
ServiceLoaderreplacement which understands multiple classpaths.
SimpleImmutableEntry<K,V>Where is Java 1.6? SmallIntSet Deprecated.since 9.3 This class will no longer be public. SpliteratorMapper<E,S>A spliterator that has been mapped from another spliterator. SslContextFactorySslContextFactory. StringPropertyReplacerA utility class for replacing properties in strings. TypedPropertiesType-aware properties. UtilGeneral utility methods used throughout the Infinispan code base. WeakValueHashMap<K,V>This Map will remove entries when the value in the map has been cleaned from garbage collection
Enum Summary Enum Description Either.Type MemoryUnit
Annotation Types Summary Annotation Type Description ExperimentalAn experimental user-facing API.