public final class ServerHeartbeatState
extends java.lang.Object
ServerConnector obtained with #getServerConnector is used to actually
communicate with this ClusterServer when it is active in another instance of
Resin .| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHeartbeatState() |
long |
getLastHeartbeatTime() |
long |
getStateTimestamp()
Returns the last state change timestamp.
|
boolean |
isHeartbeatActive()
Test if the server is active, i.e.
|
boolean |
notifyHeartbeatStart()
Notify that a start event has been received.
|
boolean |
notifyHeartbeatStop()
Notify that a stop event has been received.
|
java.lang.String |
toString() |
void |
updateTimeout(long timeout) |
public boolean isHeartbeatActive()
public java.lang.String getHeartbeatState()
public long getStateTimestamp()
public long getLastHeartbeatTime()
public boolean notifyHeartbeatStart()
public boolean notifyHeartbeatStop()
public void updateTimeout(long timeout)
public java.lang.String toString()
toString in class java.lang.Object