Package org.apache.ignite.internal.util
System-wide utility routine and helper classes.
-
Interface Summary Interface Description ClassCache Class cache.DirectBufferCleaner Cleaner interface forjava.nio.ByteBuffer.GridIntIterator Iterator over integer primitives.GridSerializableIterable<E> MakesIterableasSerializableand is useful for making anonymous serializable iterators.GridSerializableIterator<E> MakesIteratorasSerializableand is useful for making anonymous serializable iterators.IgniteTree<L,T> Interface for ignite internal tree.IgniteTree.InvokeClosure<T> IgniteUtils.InterfaceSupplier Explicit class forSupplier<Enumeration<NetworkInterface>>. -
Class Summary Class Description BasicRateLimiter The simplified version of Google Guava smooth rate limiter.
The primary feature of a rate limiter is its "stable rate", the maximum rate that is should allow at normal conditions.F0 Internal utility class that contains not peer-deployable predicates for use in internal logic.FeatureChecker Class extracted for fields from GridUnsafe to be absolutely independent with current and future static block initialization effects.GridAnnotationsCache Caches class loaders for classes.GridArgumentCheck This class encapsulates argument check (null and range) for public facing APIs.GridArrays Utility methods to work with arrays.GridAtomicInitializer<T> Executes initialization operation once.GridAtomicInteger Extended version ofAtomicInteger.GridAtomicLong Extended version ofAtomicLong.GridBoundedConcurrentLinkedHashMap<K,V> Concurrent map with an upper bound.GridBoundedConcurrentLinkedHashSet<E> Concurrent set with an upper bound.GridBoundedConcurrentOrderedMap<K,V> Concurrent ordered map that automatically manages its maximum size.GridBoundedConcurrentOrderedSet<E> Concurrent ordered set that automatically manages its maximum size.GridBoundedLinkedHashMap<K,V> Generic map with an upper bound.GridBoundedLinkedHashSet<E> Hash table and linked list implementation of theSetinterface, with predictable iteration order.GridBoundedPriorityQueue<E> Bounded variant ofPriorityQueue.GridBusyLock Synchronization aid to track "busy" state of a subsystem that owns it.GridByteArrayList Re-sizable array implementation of the byte list (eliminating auto-boxing of primitive byte type).GridCircularBuffer<T> This class implements a circular buffer for efficient data exchange.GridClassLoaderCache Caches class loaders for classes.GridClientByteUtils Primitive to byte array and backward conversions.GridCloseableIteratorAdapter<T> Convenient adapter for closeable iterator.GridCloseableIteratorAdapterEx<T> Adapter for closeable iterator that can be safely closed concurrently.GridCollections Provides locked wrappers around given maps and collections.GridConcurrentFactory Concurrent map factory.GridConcurrentHashSet<E> Concurrent set implementation.GridConcurrentLinkedHashSet<E> Concurrent linked set implementation.GridConcurrentMultiPairQueue<K,V> Concurrent queue that wraps collection ofPair<K, V[]>The only garanteeGridConcurrentMultiPairQueue.next(org.apache.ignite.internal.util.GridConcurrentMultiPairQueue.Result<K, V>)provided is sequentially emptify values per key array.GridConcurrentMultiPairQueue.Result<K,V> State holder.GridConcurrentPhantomHashSet<E> Concurrent phantom hash set implementation.GridConcurrentSkipListSet<E> This class provided the same logic asConcurrentSkipListSet.GridConcurrentWeakHashSet<E> Concurrent weak hash set implementation.GridConfigurationFinder Finds configuration files located inIGNITE_HOMEfolder and its subfolders.GridConsistentHash<N> Controls key to node affinity using consistent hash algorithm.GridCountDownCallback Allows to execute callback when a set of operations will be completed.GridCursorIteratorWrapper<V> WrapIteratorand adapt it toGridCursor.GridDebug Utility class for debugging.GridDebug.Item Debug info queue item.GridEmptyCloseableIterator<T> Empty closeable iterator.GridEmptyIterator<T> Empty iterator.GridFixedSizeInputStream Input stream wrapper which allows to read exactly expected number of bytes.GridHandleTable Lightweight identity hash table which maps objects to integer handles, assigned in ascending order.GridIntList Minimal list API to work with primitive ints.GridJavaProcess Wrapper class around theProcesssuited to run any Java class as separate java process.GridKeyLock This is an utility class for 'splitting' locking of some resources.GridLeanIdentitySet<T> GridLeanMap<K,V> Lean map implementation that keeps up to five entries in its fields.GridLeanSet<E> Lean set implementation.GridListSet<V> Implementation ofSetbased on internal list rather than hash table.GridLogThrottle Grid log throttle.GridLongList Minimal list API to work with primitive longs.GridMessageCollection<M extends Message> Collection of messages.GridMultiCollectionWrapper<E> Wrapper around several collection, don't allow adding new elements.GridMutableLong A mutable long for use in collections.GridMutex Serializable mutex.GridPartitionStateMap Grid partition state map.GridQueue<E> Queue which supports addition at tail and removing at head.GridQueue.Node<E> Node for internal linked list.GridRandom Random to be used from a single thread.GridReflectionCache Reflection field and method cache for classes.GridSerializableCollection<E> MakesAbstractCollectionasSerializableand is useful for making anonymous serializable collections.GridSerializableList<E> MakesAbstractListasSerializableand is useful for making anonymous serializable lists.GridSerializableMap<K,V> MakesAbstractMapasSerializableand is useful for making anonymous serializable maps.GridSerializableSet<E> MakesAbstractSetasSerializableand is useful for making anonymous serializable sets.GridSetWrapper<E> Set implementation that delegates to map.GridSnapshotLock<X> Synchronization primitive allowing concurrent updates and taking consistent snapshots.GridSpiCloseableIteratorWrapper<T> Wrapper used to covertIgniteSpiCloseableIteratortoGridCloseableIterator.GridSpinBusyLock Synchronization aid to track "busy" state of a subsystem that owns it.GridSpinReadWriteLock GridStringBuilder Optimized string builder with better API.GridStringBuilderFactory Per-thread cache ofStringBuilderinstances.GridStripedLock This is an utility class for 'splitting' locking of someint- orlong-keyed resources.GridStripedReadWriteLock This is an utility class for 'splitting' locking of someint- orlong-keyed resources.GridStripedSpinBusyLock Striped spin busy lock.GridSynchronizedMap<K,V> Synchronized map for cache values that is safe to update in-place.GridTimer Timer to use mostly for debugging purposes.GridTimerTask Utility extension forTimerTask.GridUnsafe Wrapper forUnsafeclass.GridWeakIterator<T> Weak iterator.HostAndPortRange Represents address along with port range.IgniteCollectors Custom collectors forStreamAPI.IgniteExceptionRegistry Utility to collect suppressed errors within internal code.IgniteExceptionRegistry.ExceptionInfo Detailed info about suppressed error.IgniteStopwatch An object that measures elapsed time in nanoseconds.IgniteTicker A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.IgniteUtils Collection of utility methods used throughout the system.IgniteUuidCache InitializationProtector Class for avoid multiple initialization of specific value from various threads.MutableSingletonList<E> List that can contain maximum of one element.OffheapReadWriteLock Lock state structure is as follows:ReentrantReadWriteLockWithTracking ReentrantReadWriteLock adapter with readLock tracking.ReentrantReadWriteLockWithTracking.ReadLockWithTracking Tracks long rlock holders.ReflectiveDirectBufferCleaner DirectBufferCleanerimplementation based onsun.misc.Cleanerandsun.nio.ch.DirectBuffer.cleaner()method.StripedCompositeReadWriteLock ReadWriteLock with striping mechanics.StripedExecutor Striped executor.StripedExecutor.Stripe Stripe.TimeBag Utility class to measure and collect timings of some execution workflow.UnsafeDirectBufferCleaner DirectBufferCleanerimplementation based onUnsafe.invokeCleanermethod.UUIDCollectionMessage Collection of UUIDs. -
Enum Summary Enum Description IgniteTree.OperationType -
Annotation Types Summary Annotation Type Description SerializableTransient Marks class as it has transient fields that should be serialized.TransientSerializable Marks class as it has non-transient fields that should not be serialized.