Package com.sun.sgs.service

Provides interfaces and classes for services provided by the RedDwarf Server.

See:
          Description

Interface Summary
ClientSessionService The client session service manages client sessions.
ClientSessionStatusListener A listener that services may register with the ClientSessionService to receive notification of local client session status changes such as disconnection or relocation.
DataService Provides facilities for services to manage access to shared, persistent objects.
IdentityRelocationListener 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.
Node An abstraction for node information, used in conjunction with the WatchdogService and NodeListeners.
NodeListener A listener that can be registered with the WatchdogService to be notified of node status events.
NodeMappingListener A listener that can be registered with the NodeMappingService to be notified of identities being added to or removed from the local node.
NodeMappingService 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.
NonDurableTransactionParticipant 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.
RecoveryListener 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.
Service This is the base interface used for all services.
SimpleCompletionHandler A handler to be notified when operations for an associated request are complete.
TaskService This Service provides facilities for scheduling tasks to run after the current task completes.
Transaction This interface represents a single transaction.
TransactionListener A listener to be notified before and after the completion of a transaction.
TransactionParticipant This interface is used by participants in transactions.
TransactionProxy This is a proxy that provides access to the current transaction and its owner.
WatchdogService The WatchdogService monitors the health of server nodes and notifies registered listeners of node status change events.
 

Enum Summary
Node.Health Health of a node.
 

Exception Summary
TransactionInterruptedException Thrown when an operation fails because it was interrupted while it was blocked waiting for another transaction.
UnknownIdentityException Thrown to indicate that an Identity is unknown.
UnknownNodeException Thrown when a node ID used in the system is unknown.
 

Package com.sun.sgs.service Description

Provides interfaces and classes for services provided by the RedDwarf Server.


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