|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataService | |
|---|---|
| com.sun.sgs.impl.service.data | Provides an implementation of DataService. |
| com.sun.sgs.impl.service.nodemap | Provides an implementation of
NodeMappingService. |
| com.sun.sgs.impl.service.session | Provides an implementation of ClientSessionService. |
| com.sun.sgs.impl.service.watchdog | Provides an implementation of WatchdogService. |
| com.sun.sgs.impl.util | Provides miscellaneous utility classes and methods. |
| Uses of DataService in com.sun.sgs.impl.service.data |
|---|
| Classes in com.sun.sgs.impl.service.data that implement DataService | |
|---|---|
class |
DataServiceImpl
Provides an implementation of DataService based on DataStoreImpl. |
| Uses of DataService in com.sun.sgs.impl.service.nodemap |
|---|
| Constructors in com.sun.sgs.impl.service.nodemap with parameters of type DataService | |
|---|---|
NodeMappingServerImpl.GetIdTask(DataService dataService,
String idkey)
Create a new instance. |
|
| Uses of DataService in com.sun.sgs.impl.service.session |
|---|
| Methods in com.sun.sgs.impl.service.session with parameters of type DataService | |
|---|---|
(package private) ClientSessionListener |
ClientSessionImpl.getClientSessionListener(DataService dataService)
Returns the client session listener, obtained from the specified dataService, for this session. |
(package private) static ClientSessionImpl |
ClientSessionImpl.getSession(DataService dataService,
BigInteger id)
Returns the ClientSession instance for the given id, retrieved from the specified dataService, or
null if the client session isn't bound in the data
service. |
(package private) void |
ClientSessionImpl.notifyListenerAndRemoveSession(DataService dataService,
boolean graceful,
boolean notify)
Invokes the disconnected callback on this session's ClientSessionListener (if present and notify is
true), removes the listener and its binding (if present),
and then removes this session and its bindings from the specified
dataService. |
(package private) void |
ClientSessionImpl.putClientSessionListener(DataService dataService,
ClientSessionListener listener)
Stores the specified client session listener in the specified dataService with following binding: |
| Constructors in com.sun.sgs.impl.service.session with parameters of type DataService | |
|---|---|
ClientSessionHandler(ClientSessionServiceImpl sessionService,
DataService dataService,
SessionProtocol sessionProtocol,
Identity identity,
RequestCompletionHandler<SessionProtocolHandler> completionHandler)
Constructs an handler for a client session that is logging in. |
|
ClientSessionHandler(ClientSessionServiceImpl sessionService,
DataService dataService,
SessionProtocol sessionProtocol,
Identity identity,
RequestCompletionHandler<SessionProtocolHandler> completionHandler,
BigInteger sessionRefId)
Constructs an handler for a client session. |
|
| Uses of DataService in com.sun.sgs.impl.service.watchdog |
|---|
| Methods in com.sun.sgs.impl.service.watchdog with parameters of type DataService | |
|---|---|
(package private) void |
NodeImpl.addPrimary(DataService dataService,
long primaryId)
Adds the specified primaryId to the list of primaries
for which this node is a backup, and updates the node's state
in the specified dataService. |
(package private) static NodeImpl |
NodeImpl.getNode(DataService dataService,
long nodeId)
Returns the Node instance for the given nodeId,
retrieved from the specified dataService, or null if the node isn't bound in the data service . |
(package private) static NodeImpl |
NodeImpl.getNodeForUpdate(DataService dataService,
long nodeId)
Returns the Node instance for the given nodeId,
retrieved from the specified dataService for update. |
(package private) static Iterator<Node> |
NodeImpl.getNodes(DataService dataService)
Returns an iterator for Node instances to be retrieved
from the specified dataService. |
(package private) static Collection<NodeImpl> |
NodeImpl.markAllNodesFailed(DataService dataService)
Marks all nodes currently bound in the specified dataService as failed, and returns a collection of those
nodes. |
(package private) void |
NodeImpl.putNode(DataService dataService)
Stores this instance in the specified dataService. |
(package private) static void |
NodeImpl.removeNode(DataService dataService,
long nodeId)
Removes the node with the specified nodeId and its
binding from the specified dataService. |
(package private) void |
NodeImpl.setFailed(DataService dataService,
NodeImpl backup)
Sets the health of this node instance to RED,
sets this node's backup to the specified backup,
empties the set of primaries for which this node is recovering,
and updates the node's state in the specified dataService. |
(package private) void |
NodeImpl.setHealth(DataService dataService,
Node.Health newHealth)
Sets the health of this node instance to a non-RED value. |
| Uses of DataService in com.sun.sgs.impl.util |
|---|
| Fields in com.sun.sgs.impl.util declared as DataService | |
|---|---|
protected DataService |
AbstractService.dataService
The data service. |
| Methods in com.sun.sgs.impl.util that return DataService | |
|---|---|
DataService |
AbstractService.getDataService()
Returns the data service. |
(package private) static DataService |
BindingKeyedCollectionsImpl.getDataService()
Returns the data service relevant to the current context. |
| Methods in com.sun.sgs.impl.util with parameters of type DataService | |
|---|---|
static Iterable<String> |
BoundNamesUtil.getServiceBoundNamesIterable(DataService dataService,
String prefix)
Returns an Iterable that can be used to obtain an
Iterator for the set of service bound names matching
the specified prefix in the specified dataService. |
static Iterator<String> |
BoundNamesUtil.getServiceBoundNamesIterator(DataService dataService,
String prefix)
Returns an Iterator for the set of service bound names
matching the specified prefix in the specified dataService. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||