A B C D E F G H I J K L M N O P R S T U V W

A

abort() - Method in interface com.sun.sgs.service.store.db.DbTransaction
Aborts the transaction.
abort(Throwable) - Method in interface com.sun.sgs.service.Transaction
Aborts the transaction, specifying the cause.
abort(Transaction) - Method in interface com.sun.sgs.service.TransactionParticipant
Tells the participant to abort its involvement with the given transaction.
abortedBeforeCompletion() - Method in interface com.sun.sgs.profile.TransactionListenerDetail
Returns whether the listener's beforeCompletion method threw an exception thus aborting the transaction.
AbortedByTimeoutException - Exception in com.sun.sgs.nio.channels
Checked exception received by a thread when a timeout elapses before an asynchronous I/O operation completes.
AbortedByTimeoutException() - Constructor for exception com.sun.sgs.nio.channels.AbortedByTimeoutException
Constructs an instance of this class.
accept(A, CompletionHandler<AsynchronousSocketChannel, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Accepts a connection.
accept(CompletionHandler<AsynchronousSocketChannel, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Accepts a connection.
accept(ProtocolListener) - Method in interface com.sun.sgs.protocol.ProtocolAcceptor
Starts accepting connections, and notifies the specified listener of new connections.
accept(ConnectionHandler) - Method in interface com.sun.sgs.transport.Transport
Start accepting connections.
AcceptPendingException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.
AcceptPendingException() - Constructor for exception com.sun.sgs.nio.channels.AcceptPendingException
Constructs an instance of this class.
AccessCoordinator - Interface in com.sun.sgs.kernel
A central point for tracking all shared objects accessed in the context of a transaction, and managing any conflict these accesses may cause.
AccessedObject - Interface in com.sun.sgs.kernel
An interface that provides details of a single object access.
AccessedObjectsDetail - Interface in com.sun.sgs.profile
An interface accessible through a ProfileReport that details the collection of object accesses that occurred during the associated transaction.
AccessedObjectsDetail.ConflictType - Enum in com.sun.sgs.profile
Identifies a known type of conflict.
AccessReporter<T> - Interface in com.sun.sgs.kernel
Used to report to the AccessCoordinator when access is requested to a shared object.
AccessReporter.AccessType - Enum in com.sun.sgs.kernel
The type of access requested.
add(E) - Method in class com.sun.sgs.app.util.ScalableDeque
add(E) - Method in class com.sun.sgs.app.util.ScalableHashSet
Adds the specified element to this set if it was not already present.
add(E) - Method in class com.sun.sgs.app.util.ScalableList
Appends the specified element to the end of this list.
add(int, E) - Method in class com.sun.sgs.app.util.ScalableList
Inserts the specified element at the specified position in this list.
addFirst(E) - Method in class com.sun.sgs.app.util.ScalableDeque
addIdentityRelocationListener(IdentityRelocationListener) - Method in interface com.sun.sgs.service.NodeMappingService
Adds a listener to be notified when an identity has been selected to be relocated off the local node.
addLast(E) - Method in class com.sun.sgs.app.util.ScalableDeque
addListener(ProfileListener, boolean) - Method in interface com.sun.sgs.profile.ProfileCollector
Adds a ProfileListener as a listener for profiling data reports.
addListener(String) - Method in interface com.sun.sgs.profile.ProfileCollector
Instantiates and adds a ProfileListener.
addNodeListener(NodeListener) - Method in interface com.sun.sgs.service.WatchdogService
Registers a listener to be notified when any node that this service monitors starts or fails.
addNodeMappingListener(NodeMappingListener) - Method in interface com.sun.sgs.service.NodeMappingService
Adds a listener to be notified when the identity mapping for this node is modified.
addRecoveryListener(RecoveryListener) - Method in interface com.sun.sgs.service.WatchdogService
Adds the specified recovery listener for the local node.
addSample(long) - Method in interface com.sun.sgs.profile.ProfileSample
Adds a new sample to the end of the current list of samples.
addSample(long) - Method in interface com.sun.sgs.profile.TaskProfileSample
Adds a new sample to the end of the current list of samples.
addSessionStatusListener(ClientSessionStatusListener) - Method in interface com.sun.sgs.service.ClientSessionService
Adds the specified status listener to be notified when a local session disconnects or is being prepared to relocate.
addTask(ScheduledTask) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Adds a task to the scheduler.
addTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TaskQueue
Adds a task to this dependency queue.
AffinityGraphBuilderMXBean - Interface in com.sun.sgs.management
The management interface for the affinity graph builder.
AffinityGroupFinderMXBean - Interface in com.sun.sgs.management
The management interface for the affinity group finder.
afterCompletion(boolean) - Method in interface com.sun.sgs.service.TransactionListener
Called after a transaction is committed or aborted.
AggregateProfileCounter - Interface in com.sun.sgs.profile
A profile counter which is initially 0, and increments until it is explicitly cleared.
AggregateProfileOperation - Interface in com.sun.sgs.profile
A profile operation which aggregates a count of how many times the operation occurred until it is explicitly cleared.
AggregateProfileSample - Interface in com.sun.sgs.profile
A profile sample which is aggregated until explicitly cleared.
AlreadyBoundException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to bind the socket of a network oriented channel that is already bound.
AlreadyBoundException() - Constructor for exception com.sun.sgs.nio.channels.AlreadyBoundException
Constructs an instance of this class.
AppContext - Class in com.sun.sgs.app
Provides access to facilities available in the current application context.
AppListener - Interface in com.sun.sgs.app
Listener for application-level events.
assignNode(Class, Identity) - Method in interface com.sun.sgs.service.NodeMappingService
Assigns the identity to a node and adds the assignment to the map.
AsynchronousByteChannel - Interface in com.sun.sgs.nio.channels
A channel that can read and write bytes asynchronously.
AsynchronousChannel - Class in com.sun.sgs.nio.channels
A channel that supports asynchronous operations.
AsynchronousChannelGroup - Class in com.sun.sgs.nio.channels
An organization of asynchronous channels for the purpose of resource sharing.
AsynchronousChannelProvider - Class in com.sun.sgs.nio.channels.spi
Service-provider class for asynchronous channels.
AsynchronousDatagramChannel - Class in com.sun.sgs.nio.channels
An asynchronous channel for datagram-oriented sockets.
AsynchronousServerSocketChannel - Class in com.sun.sgs.nio.channels
An asynchronous channel for stream-oriented listening sockets.
AsynchronousSocketChannel - Class in com.sun.sgs.nio.channels
An asynchronous channel for stream-oriented connecting sockets.
attach(A) - Method in interface com.sun.sgs.nio.channels.IoFuture
Attaches the given object to this channel future.
attachment() - Method in interface com.sun.sgs.nio.channels.IoFuture
Retrieves the current attachment.
authenticateIdentity(IdentityCredentials) - Method in interface com.sun.sgs.auth.IdentityAuthenticator
Authenticates the given credentials.
authenticateIdentity(IdentityCredentials) - Method in interface com.sun.sgs.auth.IdentityCoordinator
Authenticates the given credentials.
awaitTermination(long, TimeUnit) - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Awaits termination of the group.

B

beforeCompletion() - Method in interface com.sun.sgs.service.TransactionListener
Called after the main work of the transaction is complete, just before the transaction is prepared.
beginTransaction(long) - Method in interface com.sun.sgs.service.store.db.DbEnvironment
Begins a new transaction with the specified timeout and the implementation-specific default isolation level.
beginTransaction(long, boolean) - Method in interface com.sun.sgs.service.store.db.DbEnvironment
Begins a transaction with the specified timeout and isolation level.
bind(SocketAddress) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Binds the channel's socket to a local address.
bind(SocketAddress) - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Binds the channel's socket to a local address and configures the socket to listen for connections.
bind(SocketAddress, int) - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Binds the channel's socket to a local address and configures the socket to listen for connections.
bind(SocketAddress) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Binds the channel's socket to a local address.
bind(SocketAddress) - Method in interface com.sun.sgs.nio.channels.NetworkChannel
Binds the channel's socket to a local address.
block(InetAddress) - Method in class com.sun.sgs.nio.channels.MembershipKey
Block multicast packets from the given source address.

C

calledBeforeCompletion() - Method in interface com.sun.sgs.profile.TransactionListenerDetail
Returns whether the listener's beforeCompletion method was called.
cancel() - Method in interface com.sun.sgs.app.PeriodicTaskHandle
Cancels attempts to run the associated task in future periods.
cancel() - Method in interface com.sun.sgs.kernel.RecurringTaskHandle
Cancels the associated recurring task.
cancel(boolean) - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Cancel this ScheduledTask.
cancel() - Method in interface com.sun.sgs.kernel.TaskReservation
Cancels this reservation, releaseing the reserved space in the scheduler for the associated task or tasks.
cancel(boolean) - Method in interface com.sun.sgs.nio.channels.IoFuture
Attempts to cancel execution of the operation.
Channel - Interface in com.sun.sgs.app
Interface representing a communication group, a Channel, consisting of multiple client sessions.
CHANNEL_JOIN - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Channel join.
CHANNEL_LEAVE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Channel leave.
CHANNEL_MESSAGE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Channel message.
channelJoin(String, BigInteger, Delivery) - Method in interface com.sun.sgs.protocol.SessionProtocol
Notifies the associated client that it is joined to the channel with the specified name and channelId.
channelLeave(BigInteger) - Method in interface com.sun.sgs.protocol.SessionProtocol
Notifies the associated client that it is no longer a member of the channel with the specified channelId.
ChannelListener - Interface in com.sun.sgs.app
Listener for messages received on a channel.
ChannelManager - Interface in com.sun.sgs.app
Manager for creating and obtaining channels.
channelMessage(BigInteger, ByteBuffer, Delivery) - Method in interface com.sun.sgs.protocol.SessionProtocol
Sends the associated client the specified channel message for the channel with the specified channelId in a manner that satisfies the specified delivery guarantee.
channelMessage(BigInteger, ByteBuffer, RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionProtocolHandler
Processes a channel message sent by the associated client on the channel with the specified channelId, and invokes the completed method on the given completionHandler when this handler has completed processing the channel message.
ChannelPoolMXBean - Interface in com.sun.sgs.nio.channels
The management interface for a channel pool.
Channels - Class in com.sun.sgs.nio.channels
Utility methods for channels and streams.
ChannelServiceMXBean - Interface in com.sun.sgs.management
The management interface for the channel service.
checkTimeout() - Method in interface com.sun.sgs.service.Transaction
Checks if this Transaction has timed out, throwing a TransactionTimeoutException if it has.
ClassInfoNotFoundException - Exception in com.sun.sgs.service.store
Thrown when no class information is found to be associated with a class ID.
ClassInfoNotFoundException(String) - Constructor for exception com.sun.sgs.service.store.ClassInfoNotFoundException
Creates an instance of this class with the specified detail message.
ClassInfoNotFoundException(String, Throwable) - Constructor for exception com.sun.sgs.service.store.ClassInfoNotFoundException
Creates an instance of this class with the specified detail message and cause.
clear() - Method in class com.sun.sgs.app.util.ScalableDeque
clear() - Method in class com.sun.sgs.app.util.ScalableHashMap
Clears the map of all entries.
clear() - Method in class com.sun.sgs.app.util.ScalableHashSet
Removes all the elements in this set.
clear() - Method in class com.sun.sgs.app.util.ScalableList
Removes all of the elements referred to in the list, but retains a basic structure that consists of a SubList, ListNode, and a TreeNode, along with DummyConnectors representing the head and tail of the list.
clear() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Clears all data values.
clear() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Clears all data values.
clearCount() - Method in interface com.sun.sgs.profile.AggregateProfileCounter
Clear the counter, resetting it to 0.
clearCount() - Method in interface com.sun.sgs.profile.AggregateProfileOperation
Clear the count of operation reports.
clearSamples() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Clears the accumulated samples and their statistics.
ClientSession - Interface in com.sun.sgs.app
Interface representing a single, connected login session between a client and the server.
ClientSessionListener - Interface in com.sun.sgs.app
Listener for messages sent from an associated client session to the server.
ClientSessionService - Interface in com.sun.sgs.service
The client session service manages client sessions.
ClientSessionServiceMXBean - Interface in com.sun.sgs.management
The management interface for the client session service.
ClientSessionStatusListener - Interface in com.sun.sgs.service
A listener that services may register with the ClientSessionService to receive notification of local client session status changes such as disconnection or relocation.
close() - Method in class com.sun.sgs.nio.channels.AsynchronousChannel
Closes this channel.
close() - Method in interface com.sun.sgs.protocol.ProtocolAcceptor
Shuts down any pending accept operation as well as the acceptor itself.
close() - Method in interface com.sun.sgs.service.store.db.DbCursor
Closes this cursor, releasing any associated resources.
close() - Method in interface com.sun.sgs.service.store.db.DbDatabase
Closes this database, releasing any associated resources.
close() - Method in interface com.sun.sgs.service.store.db.DbEnvironment
Closes the environment, releasing any associated resources.
ClosedAsynchronousChannelException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to initiate an asynchronous operation on an asynchronous channel that is closed.
ClosedAsynchronousChannelException() - Constructor for exception com.sun.sgs.nio.channels.ClosedAsynchronousChannelException
Constructs an instance of this class.
com.sun.sgs.app - package com.sun.sgs.app
Provides the interface to the RedDwarf Server used by application developers.
com.sun.sgs.app.util - package com.sun.sgs.app.util
Provides utilities for use by RedDwarf Server application developers.
com.sun.sgs.auth - package com.sun.sgs.auth
Provides interfaces for identities and how to authenticate them.
com.sun.sgs.internal - package com.sun.sgs.internal
Provides implementation hooks for a RedDwarf Server to configure the underlying behavior of the system.
com.sun.sgs.kernel - package com.sun.sgs.kernel
Provides the core system interfaces used by the RedDwarf Server.
com.sun.sgs.kernel.schedule - package com.sun.sgs.kernel.schedule
Provides queue ordering and retry behavior abstractions that may be used by scheduler implementations.
com.sun.sgs.management - package com.sun.sgs.management
Provides the RedDwarf management interfaces exposed via JMX.
com.sun.sgs.nio.channels - package com.sun.sgs.nio.channels
Defines asynchronous channels that are connected to a stream-oriented connecting or listening socket, or a datagram-oriented socket.
com.sun.sgs.nio.channels.spi - package com.sun.sgs.nio.channels.spi
Service-provider classes for the com.sun.sgs.nio.channels package.
com.sun.sgs.profile - package com.sun.sgs.profile
Interfaces used to create profiling information.
com.sun.sgs.protocol - package com.sun.sgs.protocol
Provides interfaces for the protocol layer.
com.sun.sgs.protocol.simple - package com.sun.sgs.protocol.simple
Protocol specification classes.
com.sun.sgs.service - package com.sun.sgs.service
Provides interfaces and classes for services provided by the RedDwarf Server.
com.sun.sgs.service.store - package com.sun.sgs.service.store
Provides interfaces and classes for pluggable data stores of DataService implementations.
com.sun.sgs.service.store.db - package com.sun.sgs.service.store.db
Provides a database abstraction layer for use by the default implementation of the DataStore class.
com.sun.sgs.service.task - package com.sun.sgs.service.task
Provides interfaces and classes for pluggable TaskService implementations.
com.sun.sgs.transport - package com.sun.sgs.transport
Provides interfaces for the transport layer.
commit() - Method in interface com.sun.sgs.service.store.db.DbTransaction
Commits the transaction.
commit(Transaction) - Method in interface com.sun.sgs.service.TransactionParticipant
Tells the participant to commit its state associated with the given transaction.
completed(IoFuture<R, A>) - Method in interface com.sun.sgs.nio.channels.CompletionHandler
Invoked when an operation has completed.
completed(Future<V>) - Method in interface com.sun.sgs.protocol.RequestCompletionHandler
Notifies this handler that the request associated with this handler is complete with the specified result.
completed() - Method in interface com.sun.sgs.service.SimpleCompletionHandler
Notifies this handler that the operations initiated by the request associated with this future are complete.
CompletionHandler<R,A> - Interface in com.sun.sgs.nio.channels
A handler for consuming the result of an asynchronous operation.
ComponentRegistry - Interface in com.sun.sgs.kernel
This is a general registry interface used to provide access to a collection of components by type.
ConfigMXBean - Interface in com.sun.sgs.management
The immutable management information containing this node's configuration.
connect(SocketAddress, A, CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Connects this channel.
connect(SocketAddress, CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Connects this channel.
connect(SocketAddress, A, CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Connects this channel.
connect(SocketAddress, CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Connects this channel.
ConnectionHandler - Interface in com.sun.sgs.transport
Interface implemented by objects implementing a connection handler.
contains(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
.
contains(Object) - Method in class com.sun.sgs.app.util.ScalableHashSet
Returns true if this set contains the specified element.
contains(Object) - Method in class com.sun.sgs.app.util.ScalableList
Returns true if this list contains the specified element.
containsKey(Object) - Method in class com.sun.sgs.app.util.ScalableHashMap
containsValue(Object) - Method in class com.sun.sgs.app.util.ScalableHashMap
Note that the execution time of this method grows substantially as the map size increases due to the cost of accessing the data manager.
ContinuePolicy - Interface in com.sun.sgs.service.task
This interface is used to define a pluggable continuation policy for TaskService implementations when the TaskManager.shouldContinue() method is called.
createChannel(String, ChannelListener, Delivery) - Method in interface com.sun.sgs.app.ChannelManager
Creates a new channel with the specified listener and delivery guarantee, binds it to the specified name, and returns it.
createCounter(String, ProfileConsumer.ProfileDataType, ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.profile.ProfileConsumer
Creates the named counter in this consumer.
createObject(Transaction) - Method in interface com.sun.sgs.service.store.DataStore
Reserves an object ID for a new object.
createOperation(String, ProfileConsumer.ProfileDataType, ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.profile.ProfileConsumer
Creates the named operation in this consumer.
createRecurringTaskHandle(ScheduledTask) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Creates a RecurringTaskHandle for the associated task.
createReference(T) - Method in interface com.sun.sgs.app.DataManager
Creates a managed reference to an object, storing the object in the data manager if it is transient.
createReferenceForId(BigInteger) - Method in interface com.sun.sgs.service.DataService
Creates a managed reference for the object with the specified identifier, which should have been obtained from a call to ManagedReference.getId.
createSample(String, ProfileConsumer.ProfileDataType, ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.profile.ProfileConsumer
Creates the named sample collection in this consumer.
createTaskQueue() - Method in interface com.sun.sgs.kernel.TaskScheduler
Creates a new TaskQueue to use in scheduling dependent tasks.
createTaskQueue() - Method in interface com.sun.sgs.kernel.TransactionScheduler
Creates a new TaskQueue to use in scheduling dependent tasks.
currentAppTimeMillis() - Method in interface com.sun.sgs.service.WatchdogService
Returns the current global application time in milliseconds.

D

DataManager - Interface in com.sun.sgs.app
Provides facilities for managing access to shared, persistent objects.
DataService - Interface in com.sun.sgs.service
Provides facilities for services to manage access to shared, persistent objects.
DataServiceMXBean - Interface in com.sun.sgs.management
The management interface for the data service.
DataStore - Interface in com.sun.sgs.service.store
Defines the interface to the underlying persistence mechanism to store byte data.
DataStoreStatsMXBean - Interface in com.sun.sgs.management
The management interface for data store information.
DbCursor - Interface in com.sun.sgs.service.store.db
The interface to a cursor for iterating over the contents of a database.
DbDatabase - Interface in com.sun.sgs.service.store.db
The interface to a database.
DbDatabaseException - Exception in com.sun.sgs.service.store.db
Thrown when an unexpected database problem occurs.
DbDatabaseException(String) - Constructor for exception com.sun.sgs.service.store.db.DbDatabaseException
Creates an instance of this class with the specified detail message.
DbDatabaseException(String, Throwable) - Constructor for exception com.sun.sgs.service.store.db.DbDatabaseException
Creates an instance of this class with the specified detail message and cause.
DbEnvironment - Interface in com.sun.sgs.service.store.db
The interface for interacting with the database implementation.
DbTransaction - Interface in com.sun.sgs.service.store.db
The interface for a database transaction.
DEFAULT_BRANCHING_FACTOR - Static variable in class com.sun.sgs.app.util.ScalableList
Default value for the branchingFactor if one is not explicitly set.
DEFAULT_BUCKET_SIZE - Static variable in class com.sun.sgs.app.util.ScalableList
Default value for the bucketSize if one is not explicitly set.
delete(DbTransaction, byte[]) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Removes the value associated with a key in this database.
Delivery - Enum in com.sun.sgs.app
Representation for message delivery guarantees.
DeliveryNotSupportedException - Exception in com.sun.sgs.app
An exception that indicates a delivery guarantee is not supported.
DeliveryNotSupportedException(String, Delivery) - Constructor for exception com.sun.sgs.app.DeliveryNotSupportedException
Constructs and instance with the specified detail message and unsupported delivery guarantee.
descendingIterator() - Method in class com.sun.sgs.app.util.ScalableDeque
disconnect(A, CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Disconnects this channel.
disconnect(CompletionHandler<Void, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Disconnects this channel.
disconnect(SessionProtocol.DisconnectReason) - Method in interface com.sun.sgs.protocol.SessionProtocol
Disconnects the associated session for the specified reason.
disconnect(RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionProtocolHandler
Notifies this handler that a non-graceful client disconnection has occurred, and invokes the completed method on the given completionHandler when this handler has completed processing the disconnection.
disconnected(boolean) - Method in interface com.sun.sgs.app.ClientSessionListener
Notifies this listener that the associated session's client has disconnected.
disconnected(BigInteger, boolean) - Method in interface com.sun.sgs.service.ClientSessionStatusListener
Notifies this listener that the session with the given sessionRefId has disconnected so that any relevant cached or persistent data associated with the client session can be cleaned up.
drop() - Method in class com.sun.sgs.nio.channels.MembershipKey
Drop membership.

E

element() - Method in class com.sun.sgs.app.util.ScalableDeque
entrySet() - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns a concurrent, Serializable Set of all the mappings contained in this map.
equals(Object) - Method in interface com.sun.sgs.app.ManagedReference
Compares the specified object with this reference.
equals(Object) - Method in class com.sun.sgs.app.util.ManagedSerializable
Returns true if o is a ManagedSerializable that wraps an object that is equal to the object wrapped by this instance.
equals(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
ExceptionRetryStatus - Interface in com.sun.sgs.app
Implemented by exception classes that want to control whether an operation that throws an exception of that exception should be retried.

F

findAffinityGroups() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Finds affinity groups based on the current graph information.
findFirst() - Method in interface com.sun.sgs.service.store.db.DbCursor
Searches for the first key in the database.
findLast() - Method in interface com.sun.sgs.service.store.db.DbCursor
Searches for the last key in the database.
findNext() - Method in interface com.sun.sgs.service.store.db.DbCursor
Searches for the next key in the database.
findNext(byte[]) - Method in interface com.sun.sgs.service.store.db.DbCursor
Searches for the first key that is greater than or equal to the specified key.

G

get() - Method in interface com.sun.sgs.app.ManagedReference
Obtains the object associated with this reference.
get() - Method in class com.sun.sgs.app.util.ManagedSerializable
Returns the object wrapped by this instance, which may be null.
get(Object) - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns the value to which this key is mapped or null if the map contains no mapping for this key.
get(int) - Method in class com.sun.sgs.app.util.ScalableList
Returns the element at the specified position in this list.
get(DbTransaction, byte[], boolean) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Gets the value associated with a key in this database.
getAbortCause() - Method in interface com.sun.sgs.service.Transaction
Returns the cause supplied in the first call to abort on this transaction, or null if abort has not been called.
getAbortTime() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns the length of time this participant spent aborting if the transaction failed to commit.
getAccessedObjects() - Method in interface com.sun.sgs.profile.AccessedObjectsDetail
The collection of requested object accesses.
getAccessedObjectsDetail() - Method in interface com.sun.sgs.profile.ProfileReport
Returns detail of the object accesses as reported by the AccessCoordinator or null if no objects were accessed, no accesses reported, or if this report is for a non-transactional task.
getAccessType() - Method in interface com.sun.sgs.kernel.AccessedObject
Returns the type of access requested.
getActualStartTime() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the time at which the task actually started running.
getAddIdentityRelocationListenerCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times addIdentityRelocationListener has been called.
getAddNodeListenerCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times addNodeListener has been called.
getAddNodeMappingListenerCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times addNodeMappingListener has been called.
getAddRecoveryListenerCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times addRecoveryListener has been called.
getAddSessionStatusListenerCalls() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Returns the number of times addSessionStatusListener has been called.
getAfterCompletionTime() - Method in interface com.sun.sgs.profile.TransactionListenerDetail
Returns the length of time the listener spent in its afterCompletion call.
getAppListener() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the application listener class name.
getAppName() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the application name.
getAppRoot() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the application root directory name.
getAppTimeMillis(long) - Method in interface com.sun.sgs.service.WatchdogService
Converts a system time value representing the total elapsed time in milliseconds since midnight, January 1, 1970 UTC to an "application time" value.
getAssignNodeCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times assignNode has been called.
getAverage() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Returns the exponential weighted average of the added samples, using the smoothing factor as defined in AggregateProfileSample.setSmoothingFactor(double).
getAvgIterations() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the average number of iterations required for algorithm runs.
getAvgReadBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the average read byte sample value, smoothed with the smoothing factor.
getAvgRunTime() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the average amount of time, in milliseconds, spent in algorithm runs.
getAvgWrittenBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the average written byte sample value, smoothed with the smoothing factor.
getBackup() - Method in class com.sun.sgs.management.NodeInfo
Returns the node id of the backup node for this node, or -1 if no backup is assigned.
getBackup(long) - Method in interface com.sun.sgs.service.WatchdogService
Returns the node that is designated as the backup for the node with the specified nodeId, or null if no backup is currently designated.
getBaseTaskType() - Method in interface com.sun.sgs.kernel.KernelRunnable
Returns the fully qualified type of the base task that is run by this KernelRunnable.
getBeforeCompletionTime() - Method in interface com.sun.sgs.profile.TransactionListenerDetail
Returns the length of time the listener spent in its beforeCompletion call.
getBinding(String) - Method in interface com.sun.sgs.app.DataManager
Obtains the object bound to a name.
getBinding(Transaction, String) - Method in interface com.sun.sgs.service.store.DataStore
Obtains the object ID bound to a name.
getBindingForUpdate(String) - Method in interface com.sun.sgs.app.DataManager
Obtains the object bound to a name, and notifies the system that the object is going to be modified.
getCapacity() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Returns the maximum number of samples this object can hold.
getChannel(String) - Method in interface com.sun.sgs.app.ChannelManager
Returns an existing channel with the specified name.
getChannel() - Method in class com.sun.sgs.nio.channels.MembershipKey
Returns the channel for which this membership key was created.
getChannelManager() - Static method in class com.sun.sgs.app.AppContext
Returns the ChannelManager for use by the current application.
getChannelManager() - Method in interface com.sun.sgs.internal.ManagerLocator
Returns the ChannelManager for use by the current application.
getChannelPoolMXBeans() - Static method in class com.sun.sgs.nio.channels.Channels
Returns a list of the ChannelPoolMXBean objects in the Java virtual machine.
getChannelPoolMXBeans() - Method in interface com.sun.sgs.nio.channels.ManagedChannelFactory
Returns a list of ChannelPoolMXBean objects representing the management interfaces to one or more pools of channels.
getClassId(Transaction, byte[]) - Method in interface com.sun.sgs.service.store.DataStore
Returns the class ID to represent classes with the specified class information.
getClassInfo(Transaction, int) - Method in interface com.sun.sgs.service.store.DataStore
Returns the class information associated with the specified class ID.
getCommitTime() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns the length of time this participant spent committing.
getComponent(Class<T>) - Method in interface com.sun.sgs.kernel.ComponentRegistry
Returns a component from the registry, matched based on the given type.
getConflictingId() - Method in interface com.sun.sgs.profile.AccessedObjectsDetail
Returns the identifier of the transaction that caused this access to fail, if any and if known.
getConflictingTransaction(Transaction) - Method in interface com.sun.sgs.kernel.AccessCoordinator
Find out what transaction, if still active, caused the given transaction to fail due to conflict.
getConflictType() - Method in interface com.sun.sgs.profile.AccessedObjectsDetail
The type of conflict, if any, caused by these object accesses.
getConnectedAddress() - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Returns the remote address to which this channel is connected, or null if the channel is not connected.
getConnectedAddress() - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Returns the remote address to which this channel's socket is connected, or null if the channel's socket is not connected.
getConnectionData() - Method in interface com.sun.sgs.transport.TransportDescriptor
Return the transport specific connection data as a byte array.
getConsumer(String) - Method in interface com.sun.sgs.profile.ProfileCollector
Returns the named ProfileConsumer, or creates a new one with that name.
getConsumerLevel(String) - Method in interface com.sun.sgs.management.ProfileControllerMXBean
Gets the current profile level of the named consumer.
getConsumers() - Method in interface com.sun.sgs.profile.ProfileCollector
Returns a read-only map of ProfileConsumer names to the ProfileConsumers which have been created through a call to getConsumer.
getCount() - Method in interface com.sun.sgs.nio.channels.ChannelPoolMXBean
Returns an estimate of the number of open channels in this pool.
getCount() - Method in interface com.sun.sgs.profile.AggregateProfileCounter
Gets the current counter value.
getCount() - Method in interface com.sun.sgs.profile.AggregateProfileOperation
Gets aggregate number of times this operation has been reported.
getCreateChannelCalls() - Method in interface com.sun.sgs.management.ChannelServiceMXBean
Returns the number of times createChannel has been called.
getCreateObjectCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times createObject has been called.
getCreateReferenceCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times createReference has been called.
getCreateReferenceForIdCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times createReferenceForId has been called.
getCreationTime() - Method in interface com.sun.sgs.service.Transaction
Returns the time at which this Transaction was created.
getCredentialsType() - Method in interface com.sun.sgs.auth.IdentityCredentials
Returns the identifier for the type of credentials.
getCurrentOwner() - Method in interface com.sun.sgs.service.TransactionProxy
Returns the owner of the task that is executing the current transaction.
getCurrentTransaction() - Method in interface com.sun.sgs.service.TransactionProxy
Returns the current transaction state.
getDataManager() - Static method in class com.sun.sgs.app.AppContext
Returns the DataManager for use by the current application.
getDataManager() - Method in interface com.sun.sgs.internal.ManagerLocator
Returns the DataManager for use by the current application.
getDefaultPriority() - Static method in enum com.sun.sgs.kernel.Priority
Returns the default Priority used by the system.
getDefaultProfileLevel() - Method in interface com.sun.sgs.management.ProfileControllerMXBean
Gets the default profile level for all newly created consumers.
getDefaultProfileLevel() - Method in interface com.sun.sgs.profile.ProfileCollector
Gets the default system profiling level, which is the default level for any newly created ProfileConsumer.
getDefaultUncaughtExceptionHandler() - Static method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Returns the uncaught exception handler for the default group.
getDeliveries() - Method in interface com.sun.sgs.protocol.SessionProtocol
Returns a set containing the delivery guarantees supported by this protocol.
getDelivery() - Method in interface com.sun.sgs.app.Channel
Returns the delivery guarantee of this channel.
getDelivery() - Method in exception com.sun.sgs.app.DeliveryNotSupportedException
Returns the delivery guarantee that is not supported (specified during construction).
getDelivery() - Method in interface com.sun.sgs.transport.Transport
Returns the delivery guarantee for the transport.
getDescription() - Method in interface com.sun.sgs.kernel.AccessedObject
Returns the supplied description of the object, if any.
getDescriptor() - Method in interface com.sun.sgs.protocol.ProtocolAcceptor
Returns the descriptor for this protocol.
getDescriptor() - Method in interface com.sun.sgs.transport.Transport
Returns the descriptor for this transport.
getFailureCause() - Method in interface com.sun.sgs.profile.ProfileReport
Returns any failure that occurred during the execution of this report's task, or null if no failure occurred.
getFirst() - Method in class com.sun.sgs.app.util.ScalableDeque
getForUpdate() - Method in interface com.sun.sgs.app.ManagedReference
Obtains the managed object associated with this reference, and notifies the system that the object is going to be modified.
getGetBackupCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times getBackup has been called.
getGetBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getBinding has been called.
getGetBindingCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times getBinding has been called.
getGetBindingForUpdateCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getBindingForUpdate has been called.
getGetChannelCalls() - Method in interface com.sun.sgs.management.ChannelServiceMXBean
Returns the number of times getChannel has been called.
getGetClassIdCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times getClassId has been called.
getGetClassInfoCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times getClassInfo has been called.
getGetIdentitiesCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times getIdentities has been called.
getGetLocalNodeHealthCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times getLocalNodeHealth has been called.
getGetLocalNodeHealthNonTransactionalCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times getLocalNodeHealthNonTransactional has been called.
getGetLocalNodeIdCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getLocalNodeId has been called.
getGetNodeCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times getNode has been called.
getGetNodeCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times getNode has been called.
getGetNodesCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times getNodes has been called.
getGetObjectCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times getObject has been called with a false argument.
getGetObjectForUpdateCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times getObject has been called with a true argument.
getGetObjectIdCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getObjectId has been called.
getGetServiceBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getServiceBinding has been called.
getGetServiceBindingForUpdateCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times getServiceBindingForUpdate has been called.
getGetSessionProtocolCalls() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Returns the number of times getSessionProtocol has been called.
getGroup() - Method in class com.sun.sgs.nio.channels.MembershipKey
Returns the multicast group for which this membership key was created.
getHealth() - Method in class com.sun.sgs.management.NodeInfo
Returns the node health.
getHealth() - Method in interface com.sun.sgs.service.Node
Returns the health of the node.
getHost() - Method in class com.sun.sgs.management.NodeInfo
Returns the host name the node is running on.
getHostName() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the host this node is running on.
getHostName() - Method in interface com.sun.sgs.service.Node
Returns this node's host name.
getId() - Method in interface com.sun.sgs.app.ManagedReference
Returns a unique identifier for the object associated with this reference.
getId() - Method in class com.sun.sgs.management.NodeInfo
Returns the unique node identifier, which is assigned internally.
getId() - Method in interface com.sun.sgs.service.Node
Returns the node ID, which is always non-negative.
getId() - Method in interface com.sun.sgs.service.Transaction
Returns the unique identifier for this Transaction.
getIdentities(long) - Method in interface com.sun.sgs.service.NodeMappingService
Returns an Iterator for the set of identities assigned to a node.
getIsLocalNodeAliveCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times isLocalNodeAlive has been called.
getIsLocalNodeAliveNonTransactionalCalls() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns the number of times isLocalNodeAliveNonTransactional has been called.
getIsRelocatingToLocalNodeCalls() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Returns the number of times isRelocatingToLocalNode has been called.
getJmxPort() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the JMX remote listening port.
getJmxPort() - Method in class com.sun.sgs.management.NodeInfo
Returns the port JMX is listening on for remote connections, or -1 if only local JMX connections are allowed.
getKey() - Method in interface com.sun.sgs.service.store.db.DbCursor
Returns the current key, or null if the cursor has no current key.
getLast() - Method in class com.sun.sgs.app.util.ScalableDeque
getLastClearTime() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the time of the last call to AffinityGroupFinderMXBean.clear(), or the time this MBean was created if clear has never been called.
getLastClearTime() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the time of the last call to TaskAggregateMXBean.clear(), or the time this MBean was created if clear has never been called.
getLastFailure() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the Throwable that was the last failure of this task or null if it has never been run or never failed.
getListenerDetails() - Method in interface com.sun.sgs.profile.ProfileReport
Returns detail about each listener for the transaction, or an empty Set if the task was not transactional or had no listeners.
getListenerName() - Method in interface com.sun.sgs.profile.TransactionListenerDetail
Returns the name of the listener.
getListeners() - Method in interface com.sun.sgs.profile.ProfileCollector
Returns a read-only list of ProfileListeners which have been added.
getLocalAddress() - Method in interface com.sun.sgs.nio.channels.NetworkChannel
Returns the socket address that this channel's socket is bound to, or null if the socket is not bound.
getLocalNodeHealth() - Method in interface com.sun.sgs.service.WatchdogService
Returns the health of the local node.
getLocalNodeHealthNonTransactional() - Method in interface com.sun.sgs.service.WatchdogService
Returns the health of the local node.
getLocalNodeId() - Method in interface com.sun.sgs.service.DataService
Returns the node ID for the local node.
getLocalNodeId() - Method in interface com.sun.sgs.service.store.DataStore
Returns the node ID for the local node.
getLoginHighWater() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Gets the login high water.
getManager(Class<T>) - Static method in class com.sun.sgs.app.AppContext
Returns a manager of the specified type for use by the current application.
getManager(Class<T>) - Method in interface com.sun.sgs.internal.ManagerLocator
Returns a manager of the specified type for use by the current application.
getManagerLocator() - Static method in class com.sun.sgs.internal.InternalContext
Returns the ManagerLocator for use by the current application.
getMarkForUpdateCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times markForUpdate has been called.
getMarkForUpdateCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times markForUpdate has been called.
getMaxIterations() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the max number of iterations for any algorithm run.
getMaxMessageLength() - Method in interface com.sun.sgs.app.ClientSession
Return the maximum message length supported by this session.
getMaxMessageLength() - Method in interface com.sun.sgs.protocol.SessionProtocol
Returns the maximum length, in bytes, of the buffers passed as the message parameters to the sessionMessage and channelMessage methods.
getMaxReadBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the maximum read byte sample value.
getMaxRunTime() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the maximum amount of time, in milliseconds, spent in an algorithm run.
getMaxSample() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Gets the maximum sample value added.
getMaxWrittenBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the maximum written byte sample value.
getMinReadBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the mimimum read byte sample value.
getMinRunTime() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the minimum amount of time, in milliseconds, spent in an algorithm run.
getMinSample() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Gets the minimum sample value added.
getMinWrittenBytesSample() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the mimimum written byte sample value.
getName() - Method in interface com.sun.sgs.app.Channel
Returns the name bound to this channel.
getName() - Method in interface com.sun.sgs.app.ClientSession
Returns the login name used to authenticate this session.
getName() - Method in interface com.sun.sgs.auth.Identity
Returns the name associated with this identity.
getName() - Method in interface com.sun.sgs.nio.channels.ChannelPoolMXBean
Returns the name representing this channel pool.
getName() - Method in interface com.sun.sgs.profile.ProfileConsumer
The profile consumer's unique name.
getName() - Method in interface com.sun.sgs.profile.ProfileCounter
Returns the name of this counter.
getName() - Method in interface com.sun.sgs.profile.ProfileOperation
Returns the name of this operation.
getName() - Method in interface com.sun.sgs.profile.ProfileSample
Returns the name of this list of samples.
getName() - Method in interface com.sun.sgs.service.Service
Returns the name used to identify this service.
getNetworkInterface() - Method in class com.sun.sgs.nio.channels.MembershipKey
Returns the network interface for which this membership key was created.
getNextBoundNameCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times nextBoundName has been called.
getNextBoundNameCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times nextBoundName has been called.
getNextObjectIdCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times nextObjectId has been called.
getNextObjectIdCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times nextObjectId has been called.
getNextServiceBoundNameCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times nextServiceBoundName has been called.
getNextTask(boolean) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Returns the next task to run, blocking if wait is true.
getNextTasks(Collection<? super ScheduledTask>, int) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Places at most the next max tasks available into the provided Collection.
getNode(Identity) - Method in interface com.sun.sgs.service.NodeMappingService
Returns the live node to which the identity is assigned.
getNode(long) - Method in interface com.sun.sgs.service.WatchdogService
Returns node status information for the node with the specified nodeId, or null if the node is unknown.
getNodeHealth() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Return the health of the local node.
getNodeId() - Method in exception com.sun.sgs.protocol.LoginRedirectException
Returns the ID of the node to which the login should be redirected.
getNodes() - Method in interface com.sun.sgs.management.NodesMXBean
Returns information about the nodes in the system.
getNodes() - Method in interface com.sun.sgs.service.WatchdogService
Returns an iterator for the set of nodes that this service monitors.
getNodeType() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the type of this node.
getNow() - Method in interface com.sun.sgs.nio.channels.IoFuture
Retrieves the result of a completed operation.
getNumberEdges() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the number of edges in the affinity graph.
getNumberFailures() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the number of times the affinity group finder has failed, due to errors or node failures during a run.
getNumberGroups() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the number of groups found in the latest run of the affinity group finder.
getNumberRuns() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the number of times the affinity group finder has run, including runs that fail.
getNumberStopped() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the number of times the affinity group finder was stopped due to not converging soon enough.
getNumberVertices() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the number of vertices in the affinity graph.
getNumSamples() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Returns the number of samples added, which will be a value between 0 and the current capacity.
getNumSessions() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Gets the number of sessions logged into the session service.
getObject(Transaction, long, boolean) - Method in interface com.sun.sgs.service.store.DataStore
Obtains the data associated with an object ID.
getObjectId(Object) - Method in interface com.sun.sgs.app.DataManager
Returns a unique identifier for the object, storing the object in the data manager if it is transient.
getObjectId() - Method in interface com.sun.sgs.kernel.AccessedObject
Returns the identifier for the accessed object.
getOption(SocketOption) - Method in interface com.sun.sgs.nio.channels.NetworkChannel
Returns the value of a socket option.
getOwner() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the owner.
getParticipantDetails() - Method in interface com.sun.sgs.profile.ProfileReport
Returns detail about each participant in the transaction, or an empty Set if the task was not transactional.
getParticipantName() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns the name of this participant.
getPeriod() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the period for the task if it's recurring, or NON_RECURRING if this is not a recurring task.
getPrepareTime() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns the length of time this participant spent preparing to commit, regardless of whether preparation succeeded.
getPriority() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the priority.
getProcessingTime() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the time, in milliseconds, spent processing the affinity graph due to modifications such as updates or pruning.
getProfileConsumers() - Method in interface com.sun.sgs.management.ProfileControllerMXBean
Gets the names of all profile consumers in the system.
getProfileLevel() - Method in interface com.sun.sgs.profile.ProfileConsumer
Get the local profiling level for this consumer.
getProtocolDescriptor() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the protocol descriptor, as a String.
getProtocolDescriptors() - Method in exception com.sun.sgs.protocol.LoginRedirectException
Returns a collection of protocol descriptors supported by the node whose ID is returned by getNodeId.
getPruneCount() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the number of times the affinity graph has been pruned to remove dead data.
getReadBytesCount() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the total number of bytes read from the data store.
getReadObjectsCount() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the total number of objects read from the data store.
getReadyCount() - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Returns the number of tasks that are ready to run.
getReadyCount() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the number of tasks in the scheduler and ready to run when this report's task was started.
getReadyCountAvg() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the average number of tasks which are ready to run in the system.
getReason() - Method in exception com.sun.sgs.protocol.LoginFailureException
Returns a failure reason.
getReason() - Method in exception com.sun.sgs.protocol.RelocateFailureException
Returns a failure reason.
getReason() - Method in exception com.sun.sgs.protocol.RequestFailureException
Returns a failure reason.
getRecurringTaskHandle() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the RecurringTaskHandle associated with this task if this task is recurring, or null if this is not recurring.
getRegisteredMBean(String) - Method in interface com.sun.sgs.profile.ProfileCollector
Returns the object registered under the given name, or null if no object has been registered with that name.
getRemoveBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times removeBinding has been called.
getRemoveBindingCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times removeBinding has been called.
getRemoveObjectCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times removeObject has been called.
getRemoveObjectCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times removeObject has been called.
getRemoveServiceBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times removeServiceBinding has been called.
getReportedOperations() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the operations that were reported as executed during the running of the task.
getRetryAction(ScheduledTask) - Method in interface com.sun.sgs.kernel.schedule.SchedulerRetryPolicy
Determines if and how a task should be retried after a failure.
getRetryCount() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the number of times this task has been tried.
getRunningTime() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the length of time spent running the task.
getSamples() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Returns a list of all added samples in the order they are added.
getScheduleDelayedTaskCalls() - Method in interface com.sun.sgs.management.TaskServiceMXBean
Returns the number of times scheduleTask has been called with a delay.
getScheduledStartTime() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the time at which that task was scheduled to run.
getScheduleNonDurableTaskCalls() - Method in interface com.sun.sgs.management.TaskServiceMXBean
Returns the number of times scheduleNonDurableTask has been called.
getScheduleNonDurableTaskDelayedCalls() - Method in interface com.sun.sgs.management.TaskServiceMXBean
Returns the number of times scheduleNonDurableTask has been called with a delay.
getSchedulePeriodicTaskCalls() - Method in interface com.sun.sgs.management.TaskServiceMXBean
Returns the number of times schedulePeriodicTask has been called.
getScheduleTaskCalls() - Method in interface com.sun.sgs.management.TaskServiceMXBean
Returns the number of times scheduleTask has been called.
getServerHostName() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the server host property.
getService(Class<T>) - Method in interface com.sun.sgs.service.TransactionProxy
Returns a Service, based on the given type, that is available in the context of the current Transaction.
getServiceBinding(String) - Method in interface com.sun.sgs.service.DataService
Obtains the object associated with the service binding of a name.
getServiceBindingForUpdate(String) - Method in interface com.sun.sgs.service.DataService
Obtains the object associated with the service binding of a name, and notifies the system that the object is going to be modified.
getSessionProtocol(BigInteger) - Method in interface com.sun.sgs.service.ClientSessionService
Returns a protocol for the local client session with the specified sessionRefId or null if the specified client session is not connected to the local node.
getSessions() - Method in interface com.sun.sgs.app.Channel
Returns an iterator for the client sessions joined to this channel.
getSessionServiceHealth() - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Gets the health of the service.
getSetBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times setBinding has been called.
getSetBindingCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times setBinding has been called.
getSetObjectCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times setObject has been called.
getSetObjectsCalls() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the number of times setObjects has been called.
getSetServiceBindingCalls() - Method in interface com.sun.sgs.management.DataServiceMXBean
Returns the number of times setServiceBinding has been called.
getSetStatusCalls() - Method in interface com.sun.sgs.management.NodeMappingServiceMXBean
Returns the number of times setStatus has been called.
getSmoothingFactor() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the smoothing factor in effect for the data store aggregate statistics.
getSmoothingFactor() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the smoothing factor used for averages in this MBean.
getSmoothingFactor() - Method in interface com.sun.sgs.profile.AggregateProfileSample
Gets the current smoothing factor in effect for calculating the average of the added samples.
getSnapshotCount() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the configured number of full snapshots to consider live.
getSnapshotPeriod() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the configured time, in milliseconds, for each snapshot.
getSource() - Method in interface com.sun.sgs.kernel.AccessedObject
Returns the name of the source that reported this object access.
getSourceAddress() - Method in class com.sun.sgs.nio.channels.MembershipKey
Returns the source address if this membership key is source specific, or null if this membership is not source specific.
getStandardTxnTimeout() - Method in interface com.sun.sgs.management.ConfigMXBean
Returns the standard transaction timeout, in milliseconds.
getStartTime() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the time at which this task is scheduled to start.
getStatusInfo() - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Returns status information about this node.
getStopIteration() - Method in interface com.sun.sgs.management.AffinityGroupFinderMXBean
Returns the configured maximum number of iterations allowed to run before stopping the algorithm and returning the current results.
getSuccessfulLagTimeAvg() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the average lag time for successful tasks, in milliseconds.
getSuccessfulLatencyAvg() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the average latency for successful tasks, in milliseconds.
getSuccessfulRuntimeAvg() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the average runtime for successful tasks, in milliseconds.
getSuccessfulRuntimeMax() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the maximum runtime for successful tasks, in milliseconds.
getSupportedCredentialTypes() - Method in interface com.sun.sgs.auth.IdentityAuthenticator
Returns the identifiers for this IdentityAuthenticator's supported credential types.
getSystemTimeMillis(long) - Method in interface com.sun.sgs.service.WatchdogService
Converts an "application time" value representing the total amount of time in milliseconds that the current application has been running since the initialize method was called on its AppListener object to a system time value.
getTask() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the task.
getTask() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the run task that generated this report.
getTaskCount() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the total number of tasks run.
getTaskFailureCount() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the total number of tasks which failed.
getTaskFailurePercentage() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the percentage of failed tasks to total tasks.
getTaskManager() - Static method in class com.sun.sgs.app.AppContext
Returns the TaskManager for use by the current application.
getTaskManager() - Method in interface com.sun.sgs.internal.ManagerLocator
Returns the TaskManager for use by the current application.
getTaskOwner() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the owner of the run task.
getTimeout() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the transaction timeout.
getTimeout() - Method in interface com.sun.sgs.service.Transaction
Returns the length of time in milliseconds that this Transaction is allowed to run before it should timeout.
getTransactionalTaskCount() - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Returns the total number of transactional tasks run.
getTransactionId() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the identifier for the task's transaction, or null if the task was not transactional.
getTryCount() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns the try count (the number of times that this task has been attempted).
getTypeName() - Method in interface com.sun.sgs.service.TransactionListener
Returns the fully qualified type name of the listener.
getTypeName() - Method in interface com.sun.sgs.service.TransactionParticipant
Returns the fully qualified type name of the participant.
getUncaughtExceptionHandler() - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Returns the uncaught exception handler for the default group.
getUpdateCount() - Method in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
Returns the number of updates made to the affinity graph, which add graph data.
getUpdatedTaskCounters() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the values of the task-local counters that were updated during the running of the task.
getUpdatedTaskSamples() - Method in interface com.sun.sgs.profile.ProfileReport
Returns the list of values for the task-local samples that were updated during the running of the task.
getValue() - Method in enum com.sun.sgs.kernel.Priority
Returns the numeric value that backs this priority.
getValue() - Method in interface com.sun.sgs.service.store.db.DbCursor
Returns the current value, or null if the cursor has no current value.
getWrittenBytesCount() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the total number of bytes read written to data store.
getWrittenObjectsCount() - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Returns the total number of objects read written to data store.

H

hashCode() - Method in interface com.sun.sgs.app.ManagedReference
Returns an appropriate hash code value for the object.
hashCode() - Method in class com.sun.sgs.app.util.ManagedSerializable
hashCode() - Method in class com.sun.sgs.app.util.ScalableDeque
hasSessions() - Method in interface com.sun.sgs.app.Channel
Returns true if this channel has client sessions joined to it, otherwise returns false.
higher() - Method in enum com.sun.sgs.kernel.Priority
Returns the priority that is higher than this priority, or this priority if this priority is the highest priority defined.

I

Identity - Interface in com.sun.sgs.auth
This interface represents a single identity in a form used only by Services, the kernel, and other system-level components.
IdentityAuthenticator - Interface in com.sun.sgs.auth
This interface is used to define modules that know how to authenticate an identity based on provided credentials.
IdentityCoordinator - Interface in com.sun.sgs.auth
A system component that is used to authenticate identities.
IdentityCredentials - Interface in com.sun.sgs.auth
Represents credentials that can be used for authentication.
IdentityRelocationListener - Interface in com.sun.sgs.service
A service can register an IdentityRelocationListener to be notified when an identity is about to be relocated from the local node if it needs to perform any work in advance of the identity relocation.
IllegalChannelStateException - Exception in com.sun.sgs.nio.channels
Unchecked exception received when a channel operation is attempted that has previously completed due to a timeout.
IllegalChannelStateException() - Constructor for exception com.sun.sgs.nio.channels.IllegalChannelStateException
Constructs an instance of this class.
incrementCount() - Method in interface com.sun.sgs.profile.ProfileCounter
Increments the counter by 1.
incrementCount(long) - Method in interface com.sun.sgs.profile.ProfileCounter
Increments the counter by the given non-negative value.
incrementCount() - Method in interface com.sun.sgs.profile.TaskProfileCounter
Increments the counter by 1.
incrementCount(long) - Method in interface com.sun.sgs.profile.TaskProfileCounter
Increments the counter by the given non-negative value.
indexOf(Object) - Method in class com.sun.sgs.app.util.ScalableList
Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element.
initialize(Properties) - Method in interface com.sun.sgs.app.AppListener
Notifies this listener that the application has been started for the first time.
InternalContext - Class in com.sun.sgs.internal
Provides a pluggable mechanism for replacing the ManagerLocator used by the application to get Managers from the Project Darkstar stack through the AppContext.
inTransaction() - Method in interface com.sun.sgs.service.TransactionProxy
Returns true if there is a current transaction, even if the transaction has been aborted.
IoFuture<R,A> - Interface in com.sun.sgs.nio.channels
A Future representing the result of an asynchronous I/O operation.
isAborted() - Method in interface com.sun.sgs.service.Transaction
Returns information about whether abort has been called on this transaction.
isAcceptPending() - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Tells whether or not an accept is pending for this channel.
isAlive() - Method in enum com.sun.sgs.service.Node.Health
Returns true if this health represents an operational state.
isAlive() - Method in interface com.sun.sgs.service.Node
Returns true if the node is known to be alive, and false if the node is thought to have failed or is unknown.
isCancelled() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns whether this task has been cancelled.
isConnected() - Method in interface com.sun.sgs.app.ClientSession
Returns true if the client is connected, otherwise returns false.
isConnectionPending() - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Tells whether or not a connect is pending for this channel.
isEmpty() - Method in class com.sun.sgs.app.util.ScalableDeque
isEmpty() - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns whether this map has no mappings.
isEmpty() - Method in class com.sun.sgs.app.util.ScalableHashSet
Returns true if this set contains no elements.
isEmpty() - Method in class com.sun.sgs.app.util.ScalableList
Returns true if this list contains no elements.
isLive() - Method in class com.sun.sgs.management.NodeInfo
Returns whether the node is alive or failed.
isLocalNodeAlive() - Method in interface com.sun.sgs.service.WatchdogService
Returns true if the local node is considered alive, otherwise returns false.
isLocalNodeAliveNonTransactional() - Method in interface com.sun.sgs.service.WatchdogService
Returns true if the local node is considered alive, otherwise returns false.
isReadPending() - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Tells whether or not a read is pending for this channel.
isReadPending() - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Tells whether or not a read is pending for this channel.
isRecurring() - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Returns whether this is a recurring task.
isRelocatingToLocalNode(BigInteger) - Method in interface com.sun.sgs.service.ClientSessionService
Returns true if the session with the specified sessionRefId is known to be relocating to the local node, and returns false otherwise.
isShutdown() - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Tells whether or not this asynchronous channel group is shutdown.
isTerminated() - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Tells whether or not this asynchronous channel group is terminated.
isValid() - Method in class com.sun.sgs.nio.channels.MembershipKey
Tells whether or not this membership is valid.
isWritePending() - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Tells whether or not a write is pending for this channel.
isWritePending() - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Tells whether or not a write is pending for this channel.
iterator() - Method in class com.sun.sgs.app.util.ScalableDeque
iterator() - Method in class com.sun.sgs.app.util.ScalableHashSet
Returns a concurrent, Serializable Iterator over the elements in this set.
iterator() - Method in class com.sun.sgs.app.util.ScalableList
Returns an iterator over the elements in this list in proper sequence.

J

join(ClientSession) - Method in interface com.sun.sgs.app.Channel
Adds a client session to this channel.
join(Set<? extends ClientSession>) - Method in interface com.sun.sgs.app.Channel
Adds the specified client sessions to this channel.
join(InetAddress, NetworkInterface) - Method in interface com.sun.sgs.nio.channels.MulticastChannel
Joins a multicast group to begin receiving all datagrams sent to the group, returning a membership key.
join(InetAddress, NetworkInterface, InetAddress) - Method in interface com.sun.sgs.nio.channels.MulticastChannel
Joins a multicast group to begin receiving datagrams sent to the group from a given source address.
join(TransactionParticipant) - Method in interface com.sun.sgs.service.Transaction
Tells the Transaction that the given TransactionParticipant is participating in the transaction.

K

KernelMXBean - Interface in com.sun.sgs.management
The management interface for the kernel.
KernelRunnable - Interface in com.sun.sgs.kernel
This is the base interface used for all tasks that can be submitted to instances of Scheduler.
keySet() - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns a concurrent, Serializable Set of all the keys contained in this map.

L

lastIndexOf(Object) - Method in class com.sun.sgs.app.util.ScalableList
Returns the index in this list of the last occurrence of the specified element, or -1 if this list does not contain this element.
leave(ClientSession) - Method in interface com.sun.sgs.app.Channel
Removes a client session from this channel.
leave(Set<? extends ClientSession>) - Method in interface com.sun.sgs.app.Channel
Removes the specified client sessions from this channel, If a session in the specified set is not joined to this channel, then no action for that session is taken.
leaveAll() - Method in interface com.sun.sgs.app.Channel
Removes all client sessions from this channel.
listIterator() - Method in class com.sun.sgs.app.util.ScalableList
Returns a ListIterator over the elements in this list in proper sequence.
listIterator(int) - Method in class com.sun.sgs.app.util.ScalableList
Returns a ListIterator over the elements in this list, starting from the element at the given index.
loggedIn(ClientSession) - Method in interface com.sun.sgs.app.AppListener
Notifies this listener that the specified client session has logged in, and returns a ClientSessionListener for that session.
LOGIN_FAILURE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Login failure.
LOGIN_REDIRECT - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Login redirect.
LOGIN_REQUEST - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Login request from a client to a server.
LOGIN_SUCCESS - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Login success.
LoginFailureException - Exception in com.sun.sgs.protocol
An exception that indicates a login request failed.
LoginFailureException(String, LoginFailureException.FailureReason) - Constructor for exception com.sun.sgs.protocol.LoginFailureException
Constructs an instance with the specified detail message and reason.
LoginFailureException(String, Throwable) - Constructor for exception com.sun.sgs.protocol.LoginFailureException
Constructs an instance with the specified detail message and cause.
LoginFailureException.FailureReason - Enum in com.sun.sgs.protocol
Reasons why a login fails.
LoginRedirectException - Exception in com.sun.sgs.protocol
An exception that indicates a login should be redirected to the node returned by this exception's getNodeId method.
LoginRedirectException(long, Set<ProtocolDescriptor>) - Constructor for exception com.sun.sgs.protocol.LoginRedirectException
Constructs an instance with the specified nodeId and protocol descriptors.
LoginRedirectException(long, Set<ProtocolDescriptor>, String) - Constructor for exception com.sun.sgs.protocol.LoginRedirectException
Constructs an instance with the specified nodeId, descriptors and detail message.
LoginRedirectException(long, Set<ProtocolDescriptor>, String, Throwable) - Constructor for exception com.sun.sgs.protocol.LoginRedirectException
Constructs an instance with the specified nodeId, detail message, and cause.
LOGOUT_REQUEST - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Logout request from a client to a server.
LOGOUT_SUCCESS - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Logout success.
logoutRequest(RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionProtocolHandler
Processes a logout request from the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the logout request.
lower() - Method in enum com.sun.sgs.kernel.Priority
Returns the priority that is lower than this priority, or this priority if this priority is the lowest priority defined.

M

ManagedChannelFactory - Interface in com.sun.sgs.nio.channels
An object with a management interface to pools of channels.
ManagedObject - Interface in com.sun.sgs.app
A marker interface implemented by shared, persistent objects managed by DataManager.
ManagedObjectRemoval - Interface in com.sun.sgs.app
An interface that managed objects should implement in order to be notified when they are being removed from the DataManager.
ManagedReference<T> - Interface in com.sun.sgs.app
Represents a reference to a managed object.
ManagedSerializable<T> - Class in com.sun.sgs.app.util
A utility class for wrapping a Serializable object within a ManagedObject instance.
ManagedSerializable(T) - Constructor for class com.sun.sgs.app.util.ManagedSerializable
Constructs an instance of this class that wraps the specified object, which must not implement ManagedObject, but must either implement Serializable or be null.
ManagerLocator - Interface in com.sun.sgs.internal
Defines the boundary API for accessing managers for use by the current application.
ManagerNotFoundException - Exception in com.sun.sgs.app
Thrown when a requested manager is not found.
ManagerNotFoundException(String) - Constructor for exception com.sun.sgs.app.ManagerNotFoundException
Creates an instance of this class with the specified detail message.
ManagerNotFoundException(String, Throwable) - Constructor for exception com.sun.sgs.app.ManagerNotFoundException
Creates an instance of this class with the specified detail message and cause.
mappingAdded(Identity, Node) - Method in interface com.sun.sgs.service.NodeMappingListener
Notifies this listener that an identity has been added to this node.
mappingRemoved(Identity, Node) - Method in interface com.sun.sgs.service.NodeMappingListener
Notifies this listener that an identity has been removed from this node.
markForUpdate(Object) - Method in interface com.sun.sgs.app.DataManager
Notifies the system that an object is going to be modified, doing nothing if the object is transient.
markForUpdate(Transaction, long) - Method in interface com.sun.sgs.service.store.DataStore
Notifies the DataStore that an object is going to be modified.
markForUpdate(DbTransaction, byte[]) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Locks the key and associated value for update.
MAX_MESSAGE_LENGTH - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
The maximum length of a protocol message: 65535 bytes.
MAX_PAYLOAD_LENGTH - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
The maximum payload length: 65532 bytes.
MembershipKey - Class in com.sun.sgs.nio.channels
A token representing the membership of an Internet Protocol (IP) multicast group.
MessageRejectedException - Exception in com.sun.sgs.app
Thrown when an operation fails because there are not enough resources to send or receive a message.
MessageRejectedException(String) - Constructor for exception com.sun.sgs.app.MessageRejectedException
Creates an instance of this class with the specified detail message.
MessageRejectedException(String, Throwable) - Constructor for exception com.sun.sgs.app.MessageRejectedException
Creates an instance of this class with the specified detail message and cause.
MulticastChannel - Interface in com.sun.sgs.nio.channels
A network channel that supports Internet Protocol (IP) multicasting.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.AffinityGraphBuilderMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.AffinityGroupFinderMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.ChannelServiceMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.ClientSessionServiceMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.ConfigMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.DataServiceMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.DataStoreStatsMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.KernelMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.NodeMappingServiceMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.NodesMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.ProfileControllerMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.TaskAggregateMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.TaskServiceMXBean
The name for uniquely identifying this MBean.
MXBEAN_NAME - Static variable in interface com.sun.sgs.management.WatchdogServiceMXBean
The name for uniquely identifying this MBean.

N

name() - Method in interface com.sun.sgs.nio.channels.ProtocolFamily
Returns the name of the protocol family.
name() - Method in interface com.sun.sgs.nio.channels.SocketOption
Returns the name of the socket option.
NameExistsException - Exception in com.sun.sgs.app
Thrown when an operation fails because it referred to a name that is currently bound to an object.
NameExistsException(String) - Constructor for exception com.sun.sgs.app.NameExistsException
Creates an instance of this class with the specified detail message.
NameExistsException(String, Throwable) - Constructor for exception com.sun.sgs.app.NameExistsException
Creates an instance of this class with the specified detail message and cause.
NameNotBoundException - Exception in com.sun.sgs.app
Thrown when an operation fails because it referred to a name that was not bound to an object.
NameNotBoundException(String) - Constructor for exception com.sun.sgs.app.NameNotBoundException
Creates an instance of this class with the specified detail message.
NameNotBoundException(String, Throwable) - Constructor for exception com.sun.sgs.app.NameNotBoundException
Creates an instance of this class with the specified detail message and cause.
NetworkChannel - Interface in com.sun.sgs.nio.channels
A channel to a network socket.
newChannel(InputStream) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a channel that reads bytes from the given stream.
newChannel(OutputStream) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a channel that writes bytes to the given stream.
newConnection(AsynchronousByteChannel) - Method in interface com.sun.sgs.transport.ConnectionHandler
Notify the handler that a new connection has been initiated.
newInputStream(AsynchronousByteChannel) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a stream that reads bytes from the given channel.
newInputStream(ReadableByteChannel) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a stream that reads bytes from the given channel.
newLogin(Identity, SessionProtocol, RequestCompletionHandler<SessionProtocolHandler>) - Method in interface com.sun.sgs.protocol.ProtocolListener
Handles a new login request for the specified identity and corresponding protocol, and when this listener has completed processing the request, invokes the completed method on the given completionHandler with a Future containing the result of the login request.
newOutputStream(AsynchronousByteChannel) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a stream that writes bytes to the given channel.
newOutputStream(WritableByteChannel) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a stream that writes bytes to the given channel.
newReader(ReadableByteChannel, CharsetDecoder, int) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a reader that decodes bytes from the given channel using the given decoder.
newReader(ReadableByteChannel, String) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a reader that decodes bytes from the given channel according to the named charset.
newThreadPool() - Method in interface com.sun.sgs.nio.channels.ThreadPoolFactory
Constructs a new ExecutorService.
newWriter(WritableByteChannel, CharsetEncoder, int) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a writer that encodes characters using the given encoder and writes the resulting bytes to the given channel.
newWriter(WritableByteChannel, String) - Static method in class com.sun.sgs.nio.channels.Channels
Constructs a writer that encodes characters according to the named charset and writes the resulting bytes to the given channel.
nextBoundName(String) - Method in interface com.sun.sgs.app.DataManager
Returns the next name after the specified name that has a binding, or null if there are no more bound names.
nextBoundName(Transaction, String) - Method in interface com.sun.sgs.service.store.DataStore
Returns the next name after the specified name that has a binding, or null if there are no more bound names.
nextObjectId(BigInteger) - Method in interface com.sun.sgs.service.DataService
Returns a unique identifier for the next object after the object with the specified identifier, or null if there are no more objects.
nextObjectId(Transaction, long) - Method in interface com.sun.sgs.service.store.DataStore
Returns the object ID for the next object after the object with the specified ID, or -1 if there are no more objects.
nextServiceBoundName(String) - Method in interface com.sun.sgs.service.DataService
Returns the next name after the specified name that has a service binding, or null if there are no more bound names.
Node - Interface in com.sun.sgs.service
An abstraction for node information, used in conjunction with the WatchdogService and NodeListeners.
Node.Health - Enum in com.sun.sgs.service
Health of a node.
NODE_FAILED_NOTIFICATION - Static variable in interface com.sun.sgs.management.NodesMXBean
The type for node failed notifications.
NODE_STARTED_NOTIFICATION - Static variable in interface com.sun.sgs.management.NodesMXBean
The type for node started notifications.
nodeHealthUpdate(Node) - Method in interface com.sun.sgs.service.NodeListener
Notifies this listener that the specified node's health has been updated.
NodeInfo - Class in com.sun.sgs.management
Management information about a single node.
NodeInfo(String, long, Node.Health, long, int) - Constructor for class com.sun.sgs.management.NodeInfo
Creates a NodeInfo object.
NodeListener - Interface in com.sun.sgs.service
A listener that can be registered with the WatchdogService to be notified of node status events.
NodeMappingListener - Interface in com.sun.sgs.service
A listener that can be registered with the NodeMappingService to be notified of identities being added to or removed from the local node.
NodeMappingService - Interface in com.sun.sgs.service
The Node Mapping Service has the following responsibilities: maintain mapping of active identities to nodes, and vice versa decide when the mapping should change (e.g.
NodeMappingServiceMXBean - Interface in com.sun.sgs.management
The management interface for the node mapping service.
NodesMXBean - Interface in com.sun.sgs.management
The management interface for all the nodes in the system, available only from the core server node.
NodeType - Enum in com.sun.sgs.kernel
The valid node types.
NON_RECURRING - Static variable in interface com.sun.sgs.kernel.schedule.ScheduledTask
Identifier that represents a non-recurring task.
NonDurableTransactionParticipant - Interface in com.sun.sgs.service
Defines a TransactionParticipant that does not maintain durable persistent state of its own, but instead relies on other participants to store any persistent state that it needs.
notifyCancelled(ScheduledTask) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Notifies the scheduler that the given task has been cancelled.
notifyLoggedIn() - Method in interface com.sun.sgs.auth.Identity
Notifies the system that this identity has logged in.
notifyLoggedOut() - Method in interface com.sun.sgs.auth.Identity
Notifies the system that this identity has logged out.

O

ObjectIOException - Exception in com.sun.sgs.app
Thrown when an operation fails because of an I/O failure when attempting to access a managed object.
ObjectIOException(String, boolean) - Constructor for exception com.sun.sgs.app.ObjectIOException
Creates an instance of this class with the specified detail message and whether an operation that throws this exception should be retried.
ObjectIOException(String, Throwable, boolean) - Constructor for exception com.sun.sgs.app.ObjectIOException
Creates an instance of this class with the specified detail message, the cause, and whether an operation that throws this exception should be retried.
ObjectNotFoundException - Exception in com.sun.sgs.app
Thrown when an operation fails because it attempted to refer to a managed object that was not found.
ObjectNotFoundException(String) - Constructor for exception com.sun.sgs.app.ObjectNotFoundException
Creates an instance of this class with the specified detail message.
ObjectNotFoundException(String, Throwable) - Constructor for exception com.sun.sgs.app.ObjectNotFoundException
Creates an instance of this class with the specified detail message and cause.
offer(E) - Method in class com.sun.sgs.app.util.ScalableDeque
offerFirst(E) - Method in class com.sun.sgs.app.util.ScalableDeque
offerLast(E) - Method in class com.sun.sgs.app.util.ScalableDeque
open(ExecutorService) - Static method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Creates an asynchronous channel group.
open(ProtocolFamily, AsynchronousChannelGroup) - Static method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Opens an asynchronous datagram channel.
open() - Static method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Opens an asynchronous datagram channel.
open(AsynchronousChannelGroup) - Static method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Opens an asynchronous server-socket channel.
open() - Static method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Opens an asynchronous server-socket channel.
open(AsynchronousChannelGroup) - Static method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Opens an asynchronous socket channel.
open() - Static method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Opens an asynchronous socket channel.
openAsynchronousChannelGroup(ExecutorService) - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Constructs a new asynchronous channel group.
openAsynchronousDatagramChannel(ProtocolFamily, AsynchronousChannelGroup) - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Opens an asynchronous datagram channel.
openAsynchronousServerSocketChannel(AsynchronousChannelGroup) - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Opens an asynchronous server-socket channel.
openAsynchronousSocketChannel(AsynchronousChannelGroup) - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Opens an asynchronous socket channel.
openCursor(DbTransaction) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Returns a cursor for iterating over the contents of this database.
openDatabase(DbTransaction, String, boolean) - Method in interface com.sun.sgs.service.store.db.DbEnvironment
Opens a database.
options() - Method in interface com.sun.sgs.nio.channels.NetworkChannel
Returns a set of the socket options supported by this channel.

P

peek() - Method in class com.sun.sgs.app.util.ScalableDeque
peekFirst() - Method in class com.sun.sgs.app.util.ScalableDeque
peekLast() - Method in class com.sun.sgs.app.util.ScalableDeque
PeriodicTaskHandle - Interface in com.sun.sgs.app
Provides facilities for managing a Task scheduled with the TaskManager to run periodically.
poll() - Method in class com.sun.sgs.app.util.ScalableDeque
pollFirst() - Method in class com.sun.sgs.app.util.ScalableDeque
pollLast() - Method in class com.sun.sgs.app.util.ScalableDeque
pop() - Method in class com.sun.sgs.app.util.ScalableDeque
prepare(byte[]) - Method in interface com.sun.sgs.service.store.db.DbTransaction
Initiates the first phase of a two-phase commit.
prepare(Transaction) - Method in interface com.sun.sgs.service.TransactionParticipant
Tells the participant to prepare for commiting its state associated with the given transaction.
prepareAndCommit(Transaction) - Method in interface com.sun.sgs.service.TransactionParticipant
Tells the participant to both prepare and commit its state associated with the given transaction.
prepareToRelocate(BigInteger, long, SimpleCompletionHandler) - Method in interface com.sun.sgs.service.ClientSessionStatusListener
Notifies this listener that the session with the given sessionRefId is relocating to the node with the specified nodeId.
prepareToRelocate(Identity, long, SimpleCompletionHandler) - Method in interface com.sun.sgs.service.IdentityRelocationListener
Notifies this listener that the specified id has been selected for relocation to newNodeId and that this listener needs to prepare for that move.
Priority - Enum in com.sun.sgs.kernel
The priority descriptions for the system.
PriorityScheduler - Interface in com.sun.sgs.kernel
This is an experimental interface to provide a way to test different thoughts on priority through a few basic scheduling methods that accept priority levels.
ProfileCollector - Interface in com.sun.sgs.profile
This is the main aggregation point for profiling data.
ProfileCollector.ProfileLevel - Enum in com.sun.sgs.profile
The profiling levels.
ProfileConsumer - Interface in com.sun.sgs.profile
A profile consumer object is used to gather profiling data for a specific system or application component.
ProfileConsumer.ProfileDataType - Enum in com.sun.sgs.profile
The valid types of profile operations, counters and samples that can be created with the profile data factory methods.
ProfileControllerMXBean - Interface in com.sun.sgs.management
The management information for this node's profiling data.
ProfileCounter - Interface in com.sun.sgs.profile
A counter used in profiling.
ProfileListener - Interface in com.sun.sgs.profile
This interface is used to listen for profiling data as reported by the system.
ProfileOperation - Interface in com.sun.sgs.profile
An operation which has occurred.
ProfileParticipantDetail - Interface in com.sun.sgs.profile
Details final profile state associated with a single participant of a transaction.
ProfileReport - Interface in com.sun.sgs.profile
The interface used to report profiling data associated with a complete task run through the scheduler.
ProfileSample - Interface in com.sun.sgs.profile
A profile sample is a list of long data points.
propertyChange(PropertyChangeEvent) - Method in interface com.sun.sgs.profile.ProfileListener
Notifies this listener of a new change in the system properties.
ProtocolAcceptor - Interface in com.sun.sgs.protocol
A service for accepting incoming connections for a given protocol.
ProtocolDescriptor - Interface in com.sun.sgs.protocol
A communication protocol descriptor.
ProtocolFamily - Interface in com.sun.sgs.nio.channels
Represents a family of communication protocols.
ProtocolListener - Interface in com.sun.sgs.protocol
The listener for incoming protocol connections.
provider() - Method in class com.sun.sgs.nio.channels.AsynchronousChannel
Returns the provider that created this channel.
provider() - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Returns the provider that created this channel group.
provider() - Static method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Returns the system-wide default asynchronous channel provider for this invocation of the Java virtual machine.
push(E) - Method in class com.sun.sgs.app.util.ScalableDeque
put(K, V) - Method in class com.sun.sgs.app.util.ScalableHashMap
Associates the specified key with the provided value and returns the previous value if the key was previous mapped.
put(DbTransaction, byte[], byte[]) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Sets the value associated with a key in this database, regardless of whether the key already has an associated value.
putAll(Map<? extends K, ? extends V>) - Method in class com.sun.sgs.app.util.ScalableHashMap
Copies all of the mappings from the provided map into this map.
putNoOverwrite(byte[], byte[]) - Method in interface com.sun.sgs.service.store.db.DbCursor
Uses the cursor to set the value associated with a key in the database, if the key does not already have an associated value.
putNoOverwrite(DbTransaction, byte[], byte[]) - Method in interface com.sun.sgs.service.store.db.DbDatabase
Sets the value associated with a key in this database, but only if the key does not already have an associated value.

R

read(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in interface com.sun.sgs.nio.channels.AsynchronousByteChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in interface com.sun.sgs.nio.channels.AsynchronousByteChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
read(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
read(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
read(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Reads a sequence of bytes from this channel into a subsequence of the given buffers.
ReadPendingException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to initiate a read operation on a channel and a previous read operation has not completed.
ReadPendingException() - Constructor for exception com.sun.sgs.nio.channels.ReadPendingException
Constructs an instance of this class.
ready() - Method in interface com.sun.sgs.service.Service
Notifies this Service that the application is fully configured and ready to start running.
ready() - Method in interface com.sun.sgs.service.store.DataStore
Notifies the data store that services associated with the application have been successfully created.
receive(ByteBuffer, long, TimeUnit, A, CompletionHandler<SocketAddress, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
receive(ByteBuffer, A, CompletionHandler<SocketAddress, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
receive(ByteBuffer, CompletionHandler<SocketAddress, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Receives a datagram via this channel.
receivedMessage(Channel, ClientSession, ByteBuffer) - Method in interface com.sun.sgs.app.ChannelListener
Notifies this listener that the given message is being sent by the specified sender on the given channel.
receivedMessage(ByteBuffer) - Method in interface com.sun.sgs.app.ClientSessionListener
Notifies this listener that the specified message, sent by the associated session's client, was received.
RECONNECT_FAILURE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Reconnect failure.
RECONNECT_REQUEST - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Reconnection request.
RECONNECT_SUCCESS - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Reconnect success.
recover(Node, SimpleCompletionHandler) - Method in interface com.sun.sgs.service.RecoveryListener
Notifies this listener that the specified node has failed and that this listener needs to orchestrate recovery.
RecoveryListener - Interface in com.sun.sgs.service
A service can register a RecoveryListener to be notified when that service on the local node needs to recover for the service on a failed node.
RecurringTaskHandle - Interface in com.sun.sgs.kernel
This interface provides a handle to a recurring task in the scheduler.
registerAccessSource(String, Class<T>) - Method in interface com.sun.sgs.kernel.AccessCoordinator
Register as a provider of shared objects, and therefore a possible source of conflict between transactions.
registerListener(TransactionListener) - Method in interface com.sun.sgs.service.Transaction
Registers a listener that will be notified just before this transaction is prepared, and after it commits or aborts.
registerMBean(Object, String) - Method in interface com.sun.sgs.profile.ProfileCollector
Registers the given MBean with the current VM's platform MBean server, allowing it to be monitored by tools like JConsole.
relocate(Set<ProtocolDescriptor>, ByteBuffer, RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionRelocationProtocol
Notifies the associated client to relocate its session to the node specified by the descriptors using the given relocationKey.
RELOCATE_FAILURE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Relocate failure.
RELOCATE_NOTIFICATION - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Relocate session notification.
RELOCATE_REQUEST - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Relocation request.
RELOCATE_SUCCESS - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Relocation success.
relocated(BigInteger) - Method in interface com.sun.sgs.service.ClientSessionStatusListener
Notifies this listener that the session with the given sessionRefId has completed relocation to the local node, so that this listener can communicate with the relocated client session (e.g.
relocatedSession(BigInteger, SessionProtocol, RequestCompletionHandler<SessionProtocolHandler>) - Method in interface com.sun.sgs.protocol.ProtocolListener
Re-establishes an existing client session corresponding to the specified relocationKey, and when this listener has completed processing this request, invokes the completed method on the given completionHandler with a Future containing the result of this request.
RelocateFailureException - Exception in com.sun.sgs.protocol
An exception that indicates a relocation request failed.
RelocateFailureException(String, RelocateFailureException.FailureReason) - Constructor for exception com.sun.sgs.protocol.RelocateFailureException
Constructs an instance with the specified detail message and reason.
RelocateFailureException(String, Throwable) - Constructor for exception com.sun.sgs.protocol.RelocateFailureException
Constructs an instance with the specified detail message and cause.
RelocateFailureException.FailureReason - Enum in com.sun.sgs.protocol
Reasons why a relocation fails.
remove() - Method in class com.sun.sgs.app.util.ScalableDeque
remove(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
Note that this implementation takes time proportinal to the number of instances of o in the deque, not the number of elements.
remove(Object) - Method in class com.sun.sgs.app.util.ScalableHashMap
Removes the mapping for the specified key from this map if present.
remove(Object) - Method in class com.sun.sgs.app.util.ScalableHashSet
Removes the specified element from this set if it was present.
remove(int) - Method in class com.sun.sgs.app.util.ScalableList
Removes the element at the specified position in this list.
remove(Object) - Method in class com.sun.sgs.app.util.ScalableList
Removes the first occurrence in this list of the specified element.
removeAll(Collection<?>) - Method in class com.sun.sgs.app.util.ScalableDeque
removeAllOccurrences(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
Removes all occurrences of the provided object from the deque.
removeBinding(String) - Method in interface com.sun.sgs.app.DataManager
Removes the binding for a name.
removeBinding(Transaction, String) - Method in interface com.sun.sgs.service.store.DataStore
Removes the binding for a name.
removeFirst() - Method in class com.sun.sgs.app.util.ScalableDeque
removeFirstOccurrence(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
Note that this implementation takes time proportinal to the number of instances of o in the deque, not the number of elements.
removeLast() - Method in class com.sun.sgs.app.util.ScalableDeque
removeLastOccurrence(Object) - Method in class com.sun.sgs.app.util.ScalableDeque
Note that this implementation takes time proportinal to the number of instances of o in the deque, not the number of elements.
removeListener(ProfileListener) - Method in interface com.sun.sgs.profile.ProfileCollector
Removes a ProfileListener and calls ProfileListener.shutdown() on the listener.
removeObject(Object) - Method in interface com.sun.sgs.app.DataManager
Removes an object from the DataManager, if the object is persistent.
removeObject(Transaction, long) - Method in interface com.sun.sgs.service.store.DataStore
Removes the object with the specified object ID.
removeServiceBinding(String) - Method in interface com.sun.sgs.service.DataService
Removes the service binding for a name.
removingObject() - Method in interface com.sun.sgs.app.ManagedObjectRemoval
Performs additional operations that are needed when this object is removed.
removingObject() - Method in class com.sun.sgs.app.util.ScalableDeque
Clears the backing map, then removes all the Element instances created by this deque.
removingObject() - Method in class com.sun.sgs.app.util.ScalableHashMap
Performs additional operations that are needed when this object is removed.
removingObject() - Method in class com.sun.sgs.app.util.ScalableHashSet
Performs additional operations that are needed when this object is removed.
removingObject() - Method in class com.sun.sgs.app.util.ScalableList
Performs additional operations that are needed when this object is removed.
report(ProfileReport) - Method in interface com.sun.sgs.profile.ProfileListener
Reports a completed task that has been run through the scheduler.
report() - Method in interface com.sun.sgs.profile.ProfileOperation
Tells this operation to report that it is happening.
report() - Method in interface com.sun.sgs.profile.TaskProfileOperation
Tells this operation to report that it is happening.
reportFailure(long, String) - Method in interface com.sun.sgs.service.WatchdogService
Informs the watchdog that a problem has occurred in a service or component.
reportHealth(Node.Health, String) - Method in interface com.sun.sgs.service.WatchdogService
Informs the watchdog of this node's health.
reportHealth(long, Node.Health, String) - Method in interface com.sun.sgs.service.WatchdogService
Informs the watchdog of a node's health.
reportObjectAccess(T, AccessReporter.AccessType) - Method in interface com.sun.sgs.kernel.AccessReporter
Reports to the coordinator that object access has been requested in the context of the current transaction.
reportObjectAccess(Transaction, T, AccessReporter.AccessType) - Method in interface com.sun.sgs.kernel.AccessReporter
Reports to the coordinator that object access has been requested in the context of the provided transaction.
reportObjectAccess(T, AccessReporter.AccessType, Object) - Method in interface com.sun.sgs.kernel.AccessReporter
Reports to the coordinator that an object access with the provided description has been requested in the context of the current transaction.
reportObjectAccess(Transaction, T, AccessReporter.AccessType, Object) - Method in interface com.sun.sgs.kernel.AccessReporter
Reports to the coordinator that an object access with the provided description has been requested in the context of the provided transaction.
RequestCompletionHandler<V> - Interface in com.sun.sgs.protocol
A completion handler for a request carried out by a SessionProtocolHandler.
RequestFailureException - Exception in com.sun.sgs.protocol
An exception indicating that processing a request has failed, and therefore that request has been dropped.
RequestFailureException(String, RequestFailureException.FailureReason) - Constructor for exception com.sun.sgs.protocol.RequestFailureException
Constructs an instance with the specified detail message and reason.
RequestFailureException(String, Throwable) - Constructor for exception com.sun.sgs.protocol.RequestFailureException
Constructs an instance with the specified detail message and cause.
RequestFailureException.FailureReason - Enum in com.sun.sgs.protocol
Reasons why a request fails.
requestShutdown() - Method in interface com.sun.sgs.management.KernelMXBean
Requests that this node starts an orderly shutdown.
reserveTask(KernelRunnable, Identity, Priority) - Method in interface com.sun.sgs.kernel.PriorityScheduler
Reserves the ability to run the given task.
reserveTask(ScheduledTask) - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Reserves a space for a task.
reserveTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TaskScheduler
Reserves the ability to run the given task.
reserveTask(KernelRunnable, Identity, long) - Method in interface com.sun.sgs.kernel.TaskScheduler
Reserves the ability to run the given task at a specified point in the future.
reserveTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Reserves the ability to run the given task.
reserveTask(KernelRunnable, Identity, long) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Reserves the ability to run the given task at a specified point in the future.
ResourceUnavailableException - Exception in com.sun.sgs.app
Thrown when an operation fails because a resource, necessary for the operation, is unavailable.
ResourceUnavailableException(String) - Constructor for exception com.sun.sgs.app.ResourceUnavailableException
Creates an instance of this class with the specified detail message.
ResourceUnavailableException(String, Throwable) - Constructor for exception com.sun.sgs.app.ResourceUnavailableException
Creates an instance of this class with the specified detail message and cause.
resume() - Method in interface com.sun.sgs.protocol.SessionRelocationProtocol
Notifies the associated client to resume sending messages to the server.
RESUME_MESSAGES - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Resume messages notification.
retainAll(Collection<?>) - Method in class com.sun.sgs.app.util.ScalableHashSet
Retains only the elements in this collection that are contained in the specified collection.
retainAll(Collection<?>) - Method in class com.sun.sgs.app.util.ScalableList
This operation preserves the order of the elements in the list and keeps multiple copies of the same elements if they exist.
run() - Method in interface com.sun.sgs.app.Task
Performs an action, throwing an exception if the action fails.
run() - Method in interface com.sun.sgs.kernel.KernelRunnable
Runs this KernelRunnable.
runTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Runs the given task synchronously, returning when the task has completed or throwing an exception if the task fails.
RunWithNewIdentity - Annotation Type in com.sun.sgs.app
An annotation that instructs the system to associate a new owning identity with a task.

S

ScalableDeque<E> - Class in com.sun.sgs.app.util
A scalable Deque implementation.
ScalableDeque() - Constructor for class com.sun.sgs.app.util.ScalableDeque
Creates a new empty ScalableDeque.
ScalableDeque(Collection<? extends E>) - Constructor for class com.sun.sgs.app.util.ScalableDeque
Creates a ScalableDeque and adds all the elements in the provided collection according to their traversal ordering.
ScalableHashMap<K,V> - Class in com.sun.sgs.app.util
A scalable implementation of Map.
ScalableHashMap(int) - Constructor for class com.sun.sgs.app.util.ScalableHashMap
Creates an empty map with the specified minimum concurrency.
ScalableHashMap() - Constructor for class com.sun.sgs.app.util.ScalableHashMap
Constructs an empty map with the default minimum concurrency (32).
ScalableHashMap(Map<? extends K, ? extends V>) - Constructor for class com.sun.sgs.app.util.ScalableHashMap
Constructs a new map with the same mappings as the specified Map, and the default minimum concurrency (32).
ScalableHashSet<E> - Class in com.sun.sgs.app.util
A scalable implementation of Set backed by a ScalableHashMap.
ScalableHashSet() - Constructor for class com.sun.sgs.app.util.ScalableHashSet
Creates an empty set; the backing ScalableHashMap has the default minimum concurrency (32).
ScalableHashSet(int) - Constructor for class com.sun.sgs.app.util.ScalableHashSet
Creates an empty set; the backing ScalableHashMap has the specified minimum concurrency.
ScalableHashSet(Collection<? extends E>) - Constructor for class com.sun.sgs.app.util.ScalableHashSet
Creates a new set containing the elements in the specified collection.
ScalableList<E> - Class in com.sun.sgs.app.util
This class represents a java.util.List which supports a concurrent and scalable behavior.
ScalableList() - Constructor for class com.sun.sgs.app.util.ScalableList
Constructor which creates a ScalableList object with default values for the bucketSize and branchingFactor.
ScalableList(int, int) - Constructor for class com.sun.sgs.app.util.ScalableList
Constructor which creates a ScalableList object with the branchingFactor and bucketSize supplied as a parameter.
ScalableList(int, int, Collection<E>) - Constructor for class com.sun.sgs.app.util.ScalableList
Constructor which creates a ScalableList object with the branchingFactor, bucketSize, and a collection supplied as parameters.
ScheduledTask - Interface in com.sun.sgs.kernel.schedule
This interface represents a single task that has been accepted by a scheduler.
scheduleNonDurableTask(KernelRunnable, boolean) - Method in interface com.sun.sgs.service.TaskService
Schedules a single task to run once the current task has finished.
scheduleNonDurableTask(KernelRunnable, long, boolean) - Method in interface com.sun.sgs.service.TaskService
Schedules a single task to run, after the given delay, once the current task has finished.
schedulePeriodicTask(Task, long, long) - Method in interface com.sun.sgs.app.TaskManager
Schedules a task to run periodically after a delay.
scheduleRecurringTask(KernelRunnable, Identity, long, long) - Method in interface com.sun.sgs.kernel.TaskScheduler
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point.
scheduleRecurringTask(KernelRunnable, Identity, long, long) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point.
SchedulerQueue - Interface in com.sun.sgs.kernel.schedule
This interface is used to define the backing queue for a scheduler.
SchedulerRetryAction - Enum in com.sun.sgs.kernel.schedule
Enumeration of possible retry actions that a scheduler can use to retry a failed task.
SchedulerRetryPolicy - Interface in com.sun.sgs.kernel.schedule
This interface is used to define a retry policy for a scheduler when a transactional task fails.
scheduleTask(Task) - Method in interface com.sun.sgs.app.TaskManager
Schedules a task to run now.
scheduleTask(Task, long) - Method in interface com.sun.sgs.app.TaskManager
Schedules a task to run after a delay.
scheduleTask(KernelRunnable, Identity, Priority) - Method in interface com.sun.sgs.kernel.PriorityScheduler
Schedules a task to run as soon as possible based on the specific scheduler implementation.
scheduleTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TaskScheduler
Schedules a task to run as soon as possible based on the specific scheduler implementation.
scheduleTask(KernelRunnable, Identity, long) - Method in interface com.sun.sgs.kernel.TaskScheduler
Schedules a task to run at a specified point in the future.
scheduleTask(KernelRunnable, Identity) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Schedules a task to run as soon as possible based on the specific scheduler implementation.
scheduleTask(KernelRunnable, Identity, long) - Method in interface com.sun.sgs.kernel.TransactionScheduler
Schedules a task to run at a specified point in the future.
send(ByteBuffer) - Method in interface com.sun.sgs.app.Channel
Sends the message contained in the specified buffer to all client sessions joined to this channel.
send(ClientSession, ByteBuffer) - Method in interface com.sun.sgs.app.Channel
Sends the message contained in the specified buffer to all client sessions joined to this channel.
send(ByteBuffer) - Method in interface com.sun.sgs.app.ClientSession
Sends a message contained in the specified ByteBuffer to this session's client with the delivery guarantee of Delivery.RELIABLE.
send(ByteBuffer, Delivery) - Method in interface com.sun.sgs.app.ClientSession
Sends a message contained in the specified ByteBuffer to this session's client in a manner that satisfies the specified delivery guarantee.
send(ByteBuffer, SocketAddress, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Sends a datagram via this channel.
send(ByteBuffer, SocketAddress, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Sends a datagram via this channel.
send(ByteBuffer, SocketAddress, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Sends a datagram via this channel.
Service - Interface in com.sun.sgs.service
This is the base interface used for all services.
SESSION_MESSAGE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Session message.
sessionMessage(ByteBuffer, Delivery) - Method in interface com.sun.sgs.protocol.SessionProtocol
Sends the associated client the specified message in a manner that satisfies the specified delivery guarantee.
sessionMessage(ByteBuffer, RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionProtocolHandler
Processes a message sent by the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the message.
SessionProtocol - Interface in com.sun.sgs.protocol
A protocol for sending session messages and channel messages to a client.
SessionProtocol.DisconnectReason - Enum in com.sun.sgs.protocol
Reasons why a server disconnects a session.
SessionProtocolHandler - Interface in com.sun.sgs.protocol
A handler for session and channel protocol messages for an associated client session.
SessionRelocationProtocol - Interface in com.sun.sgs.protocol
Protocol additions for suspending and resuming messages to a client session and relocating a client session to another node.
set(T) - Method in class com.sun.sgs.app.util.ManagedSerializable
Replaces the object wrapped by this instance with the specified object, which must not implement ManagedObject, but must either implement Serializable or be null.
set(int, Object) - Method in class com.sun.sgs.app.util.ScalableList
Replaces the element at the specified position in this list with the specified element.
setBinding(String, Object) - Method in interface com.sun.sgs.app.DataManager
Binds an object to a name, replacing any previous binding, and storing the object in the data manager if it is transient.
setBinding(Transaction, String, long) - Method in interface com.sun.sgs.service.store.DataStore
Binds an object ID to a name.
setBindingDescription(Transaction, String, Object) - Method in interface com.sun.sgs.service.store.DataStore
Associates a description with a bound name, for use in describing name accesses.
setCapacity(int) - Method in interface com.sun.sgs.profile.AggregateProfileSample
Sets the maximum number of samples this object can hold.
setConsumerLevel(String, ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.management.ProfileControllerMXBean
Sets the current profile level of the named consumer.
setDefaultProfileLevel(ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.management.ProfileControllerMXBean
Sets the default profile level for all newly created consumers.
setDefaultProfileLevel(ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.profile.ProfileCollector
Sets the default profile level, used as the initial level when creating new ProfileConsumers.
setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Static method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Set the uncaught exception handler for the default group.
setLoginHighWater(int) - Method in interface com.sun.sgs.management.ClientSessionServiceMXBean
Sets the login high water.
setManagerLocator(ManagerLocator) - Static method in class com.sun.sgs.internal.InternalContext
Sets the ManagerLocator which is used to retrieve managers for the application.
setNodeHealth(Node.Health) - Method in interface com.sun.sgs.management.WatchdogServiceMXBean
Set the health of the local node.
setObject(Transaction, long, byte[]) - Method in interface com.sun.sgs.service.store.DataStore
Specifies data to associate with an object ID.
setObjectDescription(T, Object) - Method in interface com.sun.sgs.kernel.AccessReporter
In the current transaction, associates the given object with some description that should have a meaningful toString method.
setObjectDescription(Transaction, T, Object) - Method in interface com.sun.sgs.kernel.AccessReporter
In the provided transaction, associates the given object with some description that should have a meaningful toString method.
setObjectDescription(Transaction, long, Object) - Method in interface com.sun.sgs.service.store.DataStore
Associates a description with an object ID, for use in describing object accesses.
setObjects(Transaction, long[], byte[][]) - Method in interface com.sun.sgs.service.store.DataStore
Specifies data to associate with a series of object IDs.
setOption(SocketOption, Object) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Sets the value of a socket option.
setOption(SocketOption, Object) - Method in class com.sun.sgs.nio.channels.AsynchronousServerSocketChannel
Sets the value of a socket option.
setOption(SocketOption, Object) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Sets the value of a socket option.
setOption(SocketOption, Object) - Method in interface com.sun.sgs.nio.channels.NetworkChannel
Sets the value of a socket option.
setPriority(Priority) - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Sets the priority for this task.
setProfileLevel(ProfileCollector.ProfileLevel) - Method in interface com.sun.sgs.profile.ProfileConsumer
Set the local profiling level for this consumer.
setServiceBinding(String, Object) - Method in interface com.sun.sgs.service.DataService
Specifies an object for the service binding of a name, replacing any previous binding.
setSmoothingFactor(double) - Method in interface com.sun.sgs.management.DataStoreStatsMXBean
Sets the smoothing factor in effect for the data store aggregate statistics.
setSmoothingFactor(double) - Method in interface com.sun.sgs.management.TaskAggregateMXBean
Set the smoothing factor for all averages in this MBean, between 0.0 and 1.0, inclusive.
setSmoothingFactor(double) - Method in interface com.sun.sgs.profile.AggregateProfileSample
Sets the smoothing factor used for calculating the average of the added samples.
setStatus(Class, Identity, boolean) - Method in interface com.sun.sgs.service.NodeMappingService
Inform the NodeMappingService that a service instance has observed a change in status of an identity on this node.
setTimeout(long) - Method in interface com.sun.sgs.kernel.schedule.ScheduledTask
Sets the transaction timeout for this task.
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
Set the uncaught exception handler for the default group.
shouldContinue() - Method in interface com.sun.sgs.app.TaskManager
Returns true if the currently running task should do more work if it is available.
shouldContinue() - Method in interface com.sun.sgs.service.task.ContinuePolicy
Returns true if the currently running task should do more work if it is available.
shouldRetry() - Method in interface com.sun.sgs.app.ExceptionRetryStatus
Provides information about whether an operation that threw this exception should be retried.
shouldRetry() - Method in exception com.sun.sgs.app.ObjectIOException
Provides information about whether an operation that threw this exception should be retried.
shouldRetry() - Method in exception com.sun.sgs.app.ResourceUnavailableException
Provides information about whether an operation that threw this exception should be retried.
shouldRetry() - Method in exception com.sun.sgs.app.TransactionAbortedException
Provides information about whether an operation that threw this exception should be retried.
shouldRetry() - Method in exception com.sun.sgs.app.TransactionNotActiveException
Provides information about whether an operation that threw this exception should be retried.
shutdown() - Method in interface com.sun.sgs.kernel.schedule.SchedulerQueue
Tells this SchedulerQueue to shutdown.
shutdown() - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Initiates an orderly shutdown of the group.
shutdown(ShutdownType) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Shutdown a connection for reading and/or writing without closing the channel.
shutdown() - Method in interface com.sun.sgs.profile.ProfileCollector
Shuts down the ProfileCollector, reclaiming resources as necessary.
shutdown() - Method in interface com.sun.sgs.profile.ProfileListener
Tells this listener that the system is shutting down.
shutdown() - Method in interface com.sun.sgs.service.Service
Shuts down this service.
shutdown() - Method in interface com.sun.sgs.service.store.DataStore
Shuts down this data store.
shutdown() - Method in interface com.sun.sgs.transport.ConnectionHandler
Notify the handler that the transport encountered an unrecoverable error and has shutdown.
shutdown() - Method in interface com.sun.sgs.transport.Transport
Shutdown the transport.
ShutdownChannelGroupException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown.
ShutdownChannelGroupException() - Constructor for exception com.sun.sgs.nio.channels.ShutdownChannelGroupException
Constructs an instance of this class.
shutdownNow() - Method in class com.sun.sgs.nio.channels.AsynchronousChannelGroup
Shuts down the group and closes all open channels in the group.
ShutdownType - Enum in com.sun.sgs.nio.channels
A typesafe enumeration used when shutting down a connection on a stream-oriented connecting socket.
SimpleCompletionHandler - Interface in com.sun.sgs.service
A handler to be notified when operations for an associated request are complete.
SimpleSgsProtocol - Class in com.sun.sgs.protocol.simple
SGS Protocol constants.
size() - Method in class com.sun.sgs.app.util.ScalableDeque
.
size() - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns the size of the tree.
size() - Method in class com.sun.sgs.app.util.ScalableHashSet
Returns the number of elements in this set.
size() - Method in class com.sun.sgs.app.util.ScalableList
Retrieves the size of the list.
SocketOption - Interface in com.sun.sgs.nio.channels
A socket option associated with a socket.
StandardProtocolFamily - Enum in com.sun.sgs.nio.channels
Defines the standard family of communication protocols.
StandardSocketOption - Enum in com.sun.sgs.nio.channels
Defines the standard socket options.
start() - Method in interface com.sun.sgs.kernel.RecurringTaskHandle
Starts the associated recurring task.
supportedDeliveries() - Method in interface com.sun.sgs.app.ClientSession
Returns a set containing the delivery guarantees supported by this session.
supportsDelivery(Delivery) - Method in enum com.sun.sgs.app.Delivery
Returns true if this delivery guarantee meets the minimum requirements of the specified delivery guarantee, otherwise returns false.
supportsProtocol(ProtocolDescriptor) - Method in interface com.sun.sgs.protocol.ProtocolDescriptor
Returns true if the specified descriptor represents a protocol supported by the protocol that this descriptor represents, and returns false otherwise.
supportsTransport(TransportDescriptor) - Method in interface com.sun.sgs.transport.TransportDescriptor
Check if the specified transport is compatible with the transport this descriptor represents.
suspend(RequestCompletionHandler<Void>) - Method in interface com.sun.sgs.protocol.SessionRelocationProtocol
Notifies the associated client to suspend sending messages to the server until resume is invoked.
SUSPEND_MESSAGES - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Suspend messages notification.
SUSPEND_MESSAGES_COMPLETE - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
Acknowledgment of SimpleSgsProtocol.SUSPEND_MESSAGES notification.

T

Task - Interface in com.sun.sgs.app
Defines an application operation that will be run by the TaskManager.
TaskAggregateMXBean - Interface in com.sun.sgs.management
The management interface for tasks that have run.
TaskManager - Interface in com.sun.sgs.app
Provides facilities for scheduling tasks.
TaskProfileCounter - Interface in com.sun.sgs.profile
A counter which provides task-local information to ProfileReports.
TaskProfileOperation - Interface in com.sun.sgs.profile
An operation which provides task-local information to ProfileReports.
TaskProfileSample - Interface in com.sun.sgs.profile
A profile sample which provides information to ProfileReports.
TaskQueue - Interface in com.sun.sgs.kernel
This interface defines a dependency between tasks, such that tasks are run in the order in which they are submitted, and the next task isn't started until the current task has completed.
TaskRejectedException - Exception in com.sun.sgs.app
Thrown when an attempt to schedule a task fails because the TaskManager refuses to accept the task due to resource limitations.
TaskRejectedException(String) - Constructor for exception com.sun.sgs.app.TaskRejectedException
Creates an instance of this class with the specified detail message.
TaskRejectedException(String, Throwable) - Constructor for exception com.sun.sgs.app.TaskRejectedException
Creates an instance of this class with the specified detail message and cause.
TaskReservation - Interface in com.sun.sgs.kernel
This interface manages task reservations.
TaskScheduler - Interface in com.sun.sgs.kernel
This interface is used to run tasks that may take an arbitrarily long time to complete, but are expected to complete eventually.
TaskService - Interface in com.sun.sgs.service
This Service provides facilities for scheduling tasks to run after the current task completes.
TaskServiceMXBean - Interface in com.sun.sgs.management
The management interface for the task service.
ThreadPoolFactory - Interface in com.sun.sgs.nio.channels
An object that creates thread pools on demand.
toString() - Method in class com.sun.sgs.app.util.ManagedSerializable
toString() - Method in class com.sun.sgs.management.NodeInfo
Transaction - Interface in com.sun.sgs.service
This interface represents a single transaction.
TransactionAbortedException - Exception in com.sun.sgs.app
Thrown when an operation fails because the system aborted the current transaction during the operation.
TransactionAbortedException(String) - Constructor for exception com.sun.sgs.app.TransactionAbortedException
Creates an instance of this class with the specified detail message.
TransactionAbortedException(String, Throwable) - Constructor for exception com.sun.sgs.app.TransactionAbortedException
Creates an instance of this class with the specified detail message and cause.
TransactionConflictException - Exception in com.sun.sgs.app
Thrown when an operation fails because the system aborted the current transaction when it detected a conflict with another transaction.
TransactionConflictException(String) - Constructor for exception com.sun.sgs.app.TransactionConflictException
Creates an instance of this class with the specified detail message.
TransactionConflictException(String, Throwable) - Constructor for exception com.sun.sgs.app.TransactionConflictException
Creates an instance of this class with the specified detail message and cause.
TransactionException - Exception in com.sun.sgs.app
Thrown when an operation fails because of a problem with the current transaction.
TransactionException(String) - Constructor for exception com.sun.sgs.app.TransactionException
Creates an instance of this class with the specified detail message.
TransactionException(String, Throwable) - Constructor for exception com.sun.sgs.app.TransactionException
Creates an instance of this class with the specified detail message and cause.
TransactionInterruptedException - Exception in com.sun.sgs.service
Thrown when an operation fails because it was interrupted while it was blocked waiting for another transaction.
TransactionInterruptedException(String) - Constructor for exception com.sun.sgs.service.TransactionInterruptedException
Creates an instance of this class with the specified detail message.
TransactionInterruptedException(String, Throwable) - Constructor for exception com.sun.sgs.service.TransactionInterruptedException
Creates an instance of this class with the specified detail message and cause.
TransactionListener - Interface in com.sun.sgs.service
A listener to be notified before and after the completion of a transaction.
TransactionListenerDetail - Interface in com.sun.sgs.profile
Provides profiling detail about a TransactionListener that listened to the progress of a transaction.
TransactionNotActiveException - Exception in com.sun.sgs.app
Thrown when an operation fails because there is no current, active transaction.
TransactionNotActiveException(String) - Constructor for exception com.sun.sgs.app.TransactionNotActiveException
Creates an instance of this class with the specified detail message.
TransactionNotActiveException(String, Throwable) - Constructor for exception com.sun.sgs.app.TransactionNotActiveException
Creates an instance of this class with the specified detail message and cause.
TransactionParticipant - Interface in com.sun.sgs.service
This interface is used by participants in transactions.
TransactionProxy - Interface in com.sun.sgs.service
This is a proxy that provides access to the current transaction and its owner.
TransactionScheduler - Interface in com.sun.sgs.kernel
This interface is used to schedule transactional tasks for immediate, delayed, or periodic execution.
TransactionTimeoutException - Exception in com.sun.sgs.app
Thrown when an operation fails because the system aborted the current transaction when it exceeded the maximum permitted duration.
TransactionTimeoutException(String) - Constructor for exception com.sun.sgs.app.TransactionTimeoutException
Creates an instance of this class with the specified detail message.
TransactionTimeoutException(String, Throwable) - Constructor for exception com.sun.sgs.app.TransactionTimeoutException
Creates an instance of this class with the specified detail message and cause.
Transport - Interface in com.sun.sgs.transport
I/O transport.
TransportDescriptor - Interface in com.sun.sgs.transport
Transport descriptor.
type() - Method in interface com.sun.sgs.nio.channels.SocketOption
Returns the type of the socket option value.
type() - Method in enum com.sun.sgs.nio.channels.StandardSocketOption
Returns the type of the socket option value.

U

unblock(InetAddress) - Method in class com.sun.sgs.nio.channels.MembershipKey
Unblock multicast packets from the given source address that was previously blocked using the MembershipKey.block(java.net.InetAddress) method.
UNBOUNDED - Static variable in interface com.sun.sgs.kernel.schedule.ScheduledTask
Identifier that represents an unbounded timeout.
UnknownIdentityException - Exception in com.sun.sgs.service
Thrown to indicate that an Identity is unknown.
UnknownIdentityException(String) - Constructor for exception com.sun.sgs.service.UnknownIdentityException
Constructs an instance of UnknownIdentityException with the specified detail message.
UnknownIdentityException(String, Throwable) - Constructor for exception com.sun.sgs.service.UnknownIdentityException
Creates an instance of this class with the specified detail message and cause.
UnknownNodeException - Exception in com.sun.sgs.service
Thrown when a node ID used in the system is unknown.
UnknownNodeException(String) - Constructor for exception com.sun.sgs.service.UnknownNodeException
Constructs an instance of UnknownNodeException with the specified detail message.
UnknownNodeException(String, Throwable) - Constructor for exception com.sun.sgs.service.UnknownNodeException
Creates an instance of this class with the specified detail message and cause.
use() - Method in interface com.sun.sgs.kernel.TaskReservation
Uses the reservation, scheduling all associated tasks to run.
useAllocationBlockPlaceholders() - Method in interface com.sun.sgs.service.store.db.DbEnvironment
Specifies whether object allocations in this environment should use a placeholder at the end of each allocation block to avoid allocation concurrency conflicts.

V

valueOf(String) - Static method in enum com.sun.sgs.app.Delivery
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.kernel.AccessReporter.AccessType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.kernel.NodeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.kernel.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.kernel.schedule.SchedulerRetryAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.nio.channels.ShutdownType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.nio.channels.StandardProtocolFamily
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.nio.channels.StandardSocketOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.profile.AccessedObjectsDetail.ConflictType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.profile.ProfileCollector.ProfileLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.profile.ProfileConsumer.ProfileDataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.protocol.LoginFailureException.FailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.protocol.RelocateFailureException.FailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.protocol.RequestFailureException.FailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.protocol.SessionProtocol.DisconnectReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.sgs.service.Node.Health
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.sgs.app.Delivery
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.sun.sgs.app.util.ScalableHashMap
Returns a concurrent, Serializable Collection of all the values contained in this map.
values() - Static method in enum com.sun.sgs.kernel.AccessReporter.AccessType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.kernel.NodeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.kernel.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.kernel.schedule.SchedulerRetryAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.nio.channels.ShutdownType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.nio.channels.StandardProtocolFamily
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.nio.channels.StandardSocketOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.profile.AccessedObjectsDetail.ConflictType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.profile.ProfileCollector.ProfileLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.profile.ProfileConsumer.ProfileDataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.protocol.LoginFailureException.FailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.protocol.RelocateFailureException.FailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.protocol.RequestFailureException.FailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.protocol.SessionProtocol.DisconnectReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.sgs.service.Node.Health
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.sun.sgs.protocol.simple.SimpleSgsProtocol
The version number, currently 0x05.

W

wasCommitted() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns whether this participant was successfully committed.
wasCommittedDirectly() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns whether this participant was called to prepare and commit in one step (via TransactionParticipant.prepareAndCommit).
wasPrepared() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns whether this participant finished preparing to commit at the conclusion of the transaction.
wasReadOnly() - Method in interface com.sun.sgs.profile.ProfileParticipantDetail
Returns the vote that the participant returned from preparation.
wasTaskSuccessful() - Method in interface com.sun.sgs.profile.ProfileReport
Returns whether the task successfully ran to completion.
wasTaskTransactional() - Method in interface com.sun.sgs.profile.ProfileReport
Returns whether any of the task was transactional.
WatchdogService - Interface in com.sun.sgs.service
The WatchdogService monitors the health of server nodes and notifies registered listeners of node status change events.
WatchdogServiceMXBean - Interface in com.sun.sgs.management
The management interface for the watchdog service.
WINDOW_SIZE_PROPERTY - Static variable in interface com.sun.sgs.profile.ProfileListener
The property for defining the number task to summarize for windowed com.sun.sgs.profile.ProfileListener implementations.
worseThan(Node.Health) - Method in enum com.sun.sgs.service.Node.Health
Returns true if this health is worse than the specified health.
write(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in interface com.sun.sgs.nio.channels.AsynchronousByteChannel
Writes a sequence of bytes to this channel from the given buffer.
write(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in interface com.sun.sgs.nio.channels.AsynchronousByteChannel
Writes a sequence of bytes to this channel from the given buffer.
write(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Writes a datagram to this channel.
write(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Writes a datagram to this channel.
write(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousDatagramChannel
Writes a datagram to this channel.
write(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Writes a sequence of bytes to this channel from the given buffer.
write(ByteBuffer, A, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Writes a sequence of bytes to this channel from the given buffer.
write(ByteBuffer, CompletionHandler<Integer, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Writes a sequence of bytes to this channel from the given buffer.
write(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class com.sun.sgs.nio.channels.AsynchronousSocketChannel
Writes a sequence of bytes to this channel from a subsequence of the given buffers.
WritePendingException - Exception in com.sun.sgs.nio.channels
Unchecked exception thrown when an attempt is made to initiate a write operation on a channel and a previous write operation has not completed.
WritePendingException() - Constructor for exception com.sun.sgs.nio.channels.WritePendingException
Constructs an instance of this class.

A B C D E F G H I J K L M N O P R S T U V W
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