Commons package providing various utility classes
- Public API
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> Deprecated.since 10.0 - This class is not used internally anymore 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> Deprecated.since 11.0 with no replacement - no longer used 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. BeanUtilsSimple JavaBean manipulation helper methods BlueprintGenerator Deprecated.Since 10.1, OSGi support is deprecated and will be removed in a future release. ByRef<T>This class can be used to pass an argument by reference. ByRef.BooleanImplementation for primitive type ByRef.Integer ByRef.Long ByteQuantityParser human-readable quantity of bytes. ClassFinderFind infinispan classes utility CloseableIteratorCollectionAdapter<E> CloseableIteratorSetAdapter<E> CloseablesThis class consists exclusively of static methods that operate on or return closeable interfaces. 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. ImmutableListCopy.Externalizer 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. JVMMemoryInfoInfo KeyValueWithPrevious<K,V> LegacyKeySupportSystemPropertiesA wrapper around system properties that supports legacy keys ObjectDuplicatorA helper that efficiently duplicates known object types. OsgiClassLoader Deprecated.Since 10.1, OSGi support is deprecated and will be removed in a future version. 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. VersionContains version information about this release of Infinispan. 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 Deprecated.since 11.0, use
OSOperating system family.
Annotation Types Summary Annotation Type Description ExperimentalAn experimental user-facing API.