See: Description
Interface | Description |
---|---|
Constants | |
ExceptionWrapper<E extends java.lang.Exception> |
Wrap an existing exception as a cause within a new instance of
E . |
HasValue<V> |
Enum classes can implement this interface if they want
Struct.EnumXx Members to serialize the Enum's value as opposed
to its ordinal.
|
RecyclableResource |
An interface that provides methods for recycling and initializing resources.
|
ResourceAllocationValidator |
An interface that
ResourceRecycler and ResourcePool require
managed resources to implement so that the resource managers can do additional
validity checking that the resource is genuinely available. |
ResourceFactory<R> |
A callback interface used by
ResourcePool to create a new resource instance when a
resource is requested and the pool is not currently full. |
Struct.InstanceFactory<S> |
A factory callback that may be supplied to the
Struct.array(Struct[], com.scaleoutsoftware.soss.client.util.Struct.InstanceFactory)
method to allow callers to construct their own Struct and Struct.Member
instances as needed. |
Class | Description |
---|---|
ArrayUtil | |
BitConverter |
A set of methods for converting various java primitive types to bytes.
|
CustomSerializerMap |
A singleton object holding custom serializers by appId.
|
EnumWithValueHelper<V,E extends java.lang.Enum<E> & HasValue<V>> |
A helper class for supporting java enum implementations that require explicit values (in
addition to the built-in java enum ordinals).
|
EventSerializer | |
ExceptionUnwrapper<E extends java.lang.Exception> |
A helper class for unwrapping and re-wrapping exceptions as they cross between thread pools
and clients.
|
FilterInvokable | |
FutureImpl<V> |
A base implementation of the Future interface.
|
HostToPartitionsMapping |
This class encapsulates mapping of partitions to hosts.
|
InvokeFilterParams<T extends java.io.Serializable,P extends java.io.Serializable> |
Class used to pass the UserDefined
InvokeFilter class and class types to invoke |
MergeTree<RESULT> |
This is a base class which is used by its subclasses to create
a pool of worker threads, each executing a task which produces
a result object.
|
NetUtils |
Various networking-related utility methods.
|
ResourcePool<R extends ResourceAllocationValidator> |
A simple resource pool where resources are created as needed up to a fixed maximum number of
resources.
|
ResourceRecycler<R extends ResourceAllocationValidator> |
A simple resource recycler that functions like a
ResourcePool except that resources
are created whenever the cache is empty and resources are left for garbage collection if
there are already more than a fixed number in the buffer. |
SerializingStream | |
SossStruct |
Initialize
Struct to use native byte ordering, since that's what
the ScaleOut server uses. |
SossUnion |
A
Union implementation that subclasses SossStruct (so that all of the Member
subclasses defined there are available within subclass implementations of SossUnion as well. |
Stopwatch |
Wraps a high-res timer around a stopwatch metaphor for doing performance measurements on
code.
|
StringUtils |
Static string methods that I couldn't find anywhere else.
|
Struct |
This class represents a
C/C++ struct ; it confers
interoperability between Java classes and C/C++ struct. |
StructRecycler<R extends SossStruct & RecyclableResource & ResourceAllocationValidator> |
A specialized
ResourceRecycler for SossStruct s that can take advantage
of the byte array that backs SossStruct s and use it as a means of initializing
Structs as they go back into service. |
TransformingFuture<T,V> |
An adapter class that delegates implementation of
Future methods to an existing
Future instance while providing a callback (TransformingFuture.transform(V) ) to complete
processing when the operation completes. |
Union |
A
Struct specialization in which all fields occupy the same location in memory. |
Enum | Description |
---|---|
SerializationMode |
Exception | Description |
---|---|
NotImplementedException |
Indicates that a feature or method is not yet implemented.
|
ResourcePoolTimeoutException |
Indicates that a caller timed out waiting for a resource to become available in a resource
pool.
|
Utility classes that support the StateServer client implementation.