public interface ClusterService extends ADEPT2Service
| Modifier and Type | Method and Description |
|---|---|
SimpleClusterNodeInformation |
doubtfulStatus(SessionToken session,
java.lang.String requestingNode,
long lastRequesterUpdate,
long lastServerUpdate,
long serverRunningSince)
Gets information on the cluster node implementing this cluster service and
signals this cluster node, that its status is doubtful.
|
SimpleClusterNodeInformation |
getNodeInformation(SessionToken session)
Gets information on the cluster node implementing this cluster service.
|
getLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startSimpleClusterNodeInformation getNodeInformation(SessionToken session)
session - The session which is used to check for access rights on this
method.SimpleClusterNodeInformation doubtfulStatus(SessionToken session, java.lang.String requestingNode, long lastRequesterUpdate, long lastServerUpdate, long serverRunningSince)
session - The session which is used to check for access rights on this
method.requestingNode - The name of the node notifying the doubtful status.lastRequesterUpdate - The last time the requester has updated its
status (which is the same as checking for the server status.lastServerUpdate - The last time the server has updated its status in
the database according to the requester. If this is older than the
last update time of the server, the requester has not the latest
status, thus the notified doubtful status is not valid (any more).serverRunningSince - The time the server has switched to running in
the database according to the requester. If this is older than the
current running since time, the requester has not the latest
status, thus the notified doubtful status is not valid (any more).