Namespace Tangosol.Util
Classes
AtomicCounter
Abstract base class for AtomicCounters.
Binary
A thread-safe immutable binary object.
BinaryMemoryStream
A MemoryStream implementation whose primary purpose is to be used to create Binary objects.
Blocking
Blocking provides a set of helper methods related to blocking a thread.
BlockingLock
An IDisposable which can be used as a replacement for the lock keyword which honors the calling thread's ThreadTimeout
CacheTriggerListener
CacheTriggerListener is a special purpose ICacheListener implementation that is used to register a ICacheTrigger on a corresponding IObservableCache.
CollectionUtils
This class provides the functionality not found in the .NET Collections classes.
CompositeKey
Key class that consists of a primary and secondary component. Two instances of CompositeKey are considered to be equal iff both the primary and secondary components of the two instances are considered equal. Additionally, the hash code of a CompositeKey takes into the consideration the hash codes of its two components. Finally, the CompositeKey class implements KeyAssociation by returning the primary component.
ConfigurationUtils
Helper class used for .NET configuration files access.
ConverterCollections
A collection of ICollection implementation classes that use the IConverter interface to convert the items stored in underlying collection objects.
ConverterCollections.AbstractConverterCacheEntry
An abstract ICacheEntry that lazily converts the key and value.
ConverterCollections.ConverterCache
A Converter Cache views an underlying ICache through a set of key and value IConverters.
ConverterCollections.ConverterCacheEntries
A Converter Entry Collection views an underlying entry ICollection through a set of key and value IConverters.
ConverterCollections.ConverterCacheEntries.ConverterEntry
A ICacheEntry that lazily converts the key and value.
ConverterCollections.ConverterCacheEntries.ConverterEnumerator
An IEnumerator that converts the key and value types.
ConverterCollections.ConverterCacheEntry
An ICacheEntry that lazily converts the key and value.
ConverterCollections.ConverterCacheEnumerator
A Converter CacheEnumerator views an underlying ICacheEnumerator through key and value IConverters.
ConverterCollections.ConverterCacheEventArgs
A Converter CacheEventArgs views an underlying CacheEventArgs through a set of key and value IConverters.
ConverterCollections.ConverterCacheListener
A converter CacheListener that converts events of the underlying ICacheListener for the underlying cache.
ConverterCollections.ConverterCollection
A Converter Collection views an underlying ICollection through an IConverter.
ConverterCollections.ConverterConcurrentCache
A Converter ConcurrentCache views an underlying IConcurrentCache through a set of key and value IConverters.
ConverterCollections.ConverterDictionary
A Converter Dictionary views an underlying IDictionary through a set of key and value IConverters.
ConverterCollections.ConverterDictionaryEnumerator
A Converter DictionaryEnumerator views an underlying IDictionaryEnumerator through key and value IConverters.
ConverterCollections.ConverterInvocableCache
A Converter InvocableCache views an underlying IInvocableCache through a set of key and value IConverters.
ConverterCollections.ConverterNamedCache
A Converter NamedCache views an underlying INamedCache through a set of key and value IConverters.
ConverterCollections.ConverterObservableCache
A Converter ObservableCache views an underlying IObservableCache through a set of key and value IConverters.
ConverterCollections.ConverterQueryCache
A Converter QueryCache views an underlying IQueryCache through a set of key and value IConverters.
ConverterEnumerator
An implementation of IEnumerator which converts each of the items which it enumerates.
DateTimeUtils
Miscellaneuos utility methods for DateTime manipulation.
FilterEnumerator
Provide a generic implementation of an enumerator which can enumerate items based on an inclusion test.
HashHelper
This static class contains helper functions for calculating hash code values for any group of c# intrinsics.
ImmutableArrayList
Implementation of the IList interface in a read-only fashion based on an array.
ImmutableMultiList
Implementation of the IList interface in a read-only fashion based on a collection of arrays.
InterlockedCounter
Implementation of AtomicCounter based on .NET System.Threading.Interlocked class.
LicenseException
Signals that an operation has failed due to a licensing error, such as a missing license or license limit being exceeded.
Listeners
Provide a simple, efficient, and thread-safe implementation of a list of event listeners.
LiteDictionary
An implementation of IDictionary that is optimal (in terms of both size and speed) for very small sets of data but still works excellently with large sets of data.
LongSortedList
A data structure resembling an array keyed by .NET long values.
MacroParameterResolver
An XmlHelper.IParameterResolver that parses and evaluates configuration macros in the format of
{user-defined-name [default-value]}
.
NetworkUtils
Miscellaneuos utility methods for network related objects.
NullFilter
Filter which discards null references.
NullImplementation
A collection of classes that do nothing.
NullImplementation.NullCache
A ICache that contains nothing and does nothing.
NullImplementation.NullCollection
An immutable collection which contains nothing.
NullImplementation.NullConverter
An IConverter that does nothing.
NullImplementation.NullDictionary
A dictionary that contains nothing and does nothing.
NullImplementation.NullEnumerator
An empty enumerator.
NullImplementation.NullObservableCache
An immutable IObservableCache which contains nothing.
NullImplementation.NullPofContext
An implementation of IPofContext that does nothing.
NullImplementation.NullValueExtractor
An IValueExtractor that always results in the passed-in value.
NumberUtils
Miscellaneuos utility methods for numbers manipulation.
ObjectUtils
Miscellaneuos utility methods for object manipulation.
Optional
.NET port of java.util.Optional, a container object which may or may not contain a non-null value. If a value is present, IsPresent() will return true and Get() will return the value.
PagedEnumerator
PagedEnumerator is an IEnumerator implementation based on a concept of a page Advancer - a pluggable component that knows how to supply a next page of objects to iterate through.
SafeClock
SafeClock maintains a "safe" time in milliseconds.
SerializationHelper
Miscellaneous serialization utilities.
SerializationHelper.Stats
Serialization statistics for a given user type.
ServiceEventArgs
An event which indicates that a IService state has changed:
- a service is starting
- a service has started
- a service is stopping
- a service has stopped
ShieldedStream
Proxy stream that prevents the underlying stream from being closed.
SimpleEnumerator
Provide a generic implementation of an array enumerator.
SimpleQueryRecord
Simple QueryRecord implementation.
SimpleQueryRecord.PartialResult
Simple IPartialResult implementation.
SimpleQueryRecord.PartialResult.IndexLookupRecord
Simple IQueryRecord.IPartialResult.IIndexLookupRecord implementation.
SimpleQueryRecord.PartialResult.Step
Simple IQueryRecord.IPartialResult.IStep implementation.
SimpleQueryRecordReporter
Simple query record reporter used to obtain a string representation of IQueryRecord object.
StringUtils
Miscellaneuos utility methods for string manipulation.
SynchronizedCounter
Implementation of AtomicCounter.
ThreadGate
Use this class in cases that large numbers of threads can operate concurrently with an additional requirement that all threads be blocked for certain operations.
ThreadGateSlim
ThreadGateSlim exposes a ReaderWriterLockSlim through the Gate interface.
ThreadTimeout
ThreadTimeout provides a mechanism for allowing a thread to interrupt itself if it doesn't return to a specific call site within a given timeout. ThreadTimeout instances are intended to be used with a using Statement. Once constructed a ThreadTimeout attempts to ensure that the corresponding using block completes within the specified timeout and if it does not the thread will self-interrupt. Exiting the timeout block will automatically clear any interrupt present on the thread and in such a case a ThreadInterruptedException will be thrown.
ThreadTimeout.LongHolder
A LongHolder object provides get/set access to a stored long.
TypeResolver
Resolves a System.Type by name.
UUID
A UUID is a 256-bit identifier that, if it is generated, is statistically guaranteed to be unique.
UriUtils
Miscellaneuos utility methods for Uri manipulation.
Structs
Port32
Utility struct to compute baseport and subport from the 32 bit port number.
Interfaces
Gate
Use a Gate in cases that large numbers of threads can operate concurrently with an additional requirement that all threads be blocked for certain operations.
IControllable
IControllable interface represents an object quite oftenly referred to as a service that usually operates on its own thread and has a controllable life cycle.
IConverter
Provide for "pluggable" object conversions.
IEventListener
Marker interface that all event listener interfaces should extend.
IFilter
Provide for "pluggable" conditional behavior.
IIndexLookupRecord
An IIndexLookupRecord holds the recorded information about an index lookup performed during filter evaluation as part of a query record.
An IIndexLookupRecord is created each time that RecordExtractor(ValueExtractor) is called on a query record step.
ILongArray
An interface, similar in its methods to IList, and similar in its purpose to an array, designed for sparse storage and indexed by long values.
ILongArrayEnumerator
An IEnumerator for ILongArray.
IPartialResult
An IQueryRecord.PartialResult is a partial query record that contains recorded costs for a query operation. Partial results are collected in a query record by a QueryRecorder.
IQueryRecord
The IQueryRecord object carries a record of the estimated or actual execution cost for a query operation.
IService
A IService is a IControllable that emits service lifecycle events.
IStep
A IQueryRecord.Step carries the recorded cost of evaluating a filter as part of a query operation. This cost may be the estimated or actual execution cost depending on the RecordType of the recorder in use when the step was created.
ISynchronousListener
A tag interface indicating that a listener implementation has to receive the event notifications synchronously on the corresponding service's thread.
IValueExtractor
IValueExtractor is used to both extract values (for example, for sorting or filtering) from an object, and to provide an identity for that extraction.
IValueManipulator
IValueManipulator represents a composition of IValueExtractor and IValueUpdater implementations.
IValueUpdater
IValueUpdater is used to update an object's state.
IVersionable
An interface for versionable data.
PagedEnumerator.IAdvancer
Advancer is a pluggable component that knows how to load a new page (collection) of objects to be used by the enclosing PagedEnumerator.
Enums
LiteDictionary.LiteDictionaryType
LiteDictionary type enum values.
ServiceEventType
Service event type enumeration.
ThreadGateState
ThreadGate state enum.
WellKnownSubPorts
Well known subport.
Delegates
ServiceEventHandler
Represents the method that will handle service event.