Package com.sun.sgs.impl.util

Provides miscellaneous utility classes and methods.

See:
          Description

Interface Summary
BindingKeyedCollections A factory for creating collections whose key/value pairs are stored as service bindings.
BindingKeyedMap<V> A persistent Map that uses service bindings in the data service to store key/value mappings.
BindingKeyedSet<E> An implementation of Set backed by a BindingKeyedMap.
IoRunnable A task to encapsulate IO-related operations to be executed within the context of AbstractService.runIoTask.
 

Class Summary
AbstractCompletionFuture<T> This future is an abstract implementation for the futures passed to the RequestCompletionHandler used by the ProtocolListener and SessionProtocolHandler APIs.
AbstractKernelRunnable A utility class that implements the getBaseTaskType method of KernelRunnable to return the class name of the concrete instance.
AbstractService An abstract implementation of a service.
AbstractService.Version An immutable class to hold the current version of the keys and data persisted by a service.
AdaptiveField<T> An AdaptiveField is an abstraction over the traditional Java field that allows a field to be stored either locally (as a normal field would be) or remotely in the data store, while still allowing common operations as well as the ability to dynamically switch where the field's value is stored.
BindingKeyedCollectionsImpl An implementation of the collections factory.
BindingKeyedMapImpl<V> An implementation of a persistent Map that uses service bindings in the data service to store key/value pairs.
BindingKeyedMapImpl.ValueIterator<V> An iterator over the values in the tree.
BindingKeyedSetImpl<E> An implementation of BindingKeyedSet backed by a BindingKeyedMap.
BoundNamesUtil A utility class for obtaining an iterator for a set of bound names (matching a prefix) in a data service.
CacheMap<K,V> A map with values that are softly-referenced.
DataStreamUtil Utility methods for reading from data input streams and writing to data output streams.
Exporter<T extends Remote> Provides for making the server available on the network, and removing it from the network during shutdown.
Int30 Provides utilities for reading and writing 30-bit integers in a compressed format that is smaller for smaller integers.
KernelCallable<R> An abstract utility class to run a transactional task that returns a value.
ManagedQueue<E> A simple implementation of a persistent queue.
NamedThreadFactory A custom implementation of a ThreadFactory that assigns a configurable name to each thread.
Numbers Utility methods for working with numbers.
TransactionContext A context to hold state associated with a transaction.
TransactionContextFactory<T extends TransactionContext> Utility class for participating in a transaction, parameterized by a type of TransactionContext to be used with a participant.
TransactionContextMap<T extends TransactionContext> Utility class for maintaining the association between transactions and instances of TransactionContext.
Version Utility class for obtaining information about the current version.
WeakIdentityMap<K,V> A map that with weak keys that are compared for identity.
WrappedSerializable<T> A wrapper for an object that is serializable, but may or may not be a ManagedObject.
 

Enum Summary
AbstractService.State Service state.
 

Package com.sun.sgs.impl.util Description

Provides miscellaneous utility classes and methods.


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved