org.apache.cassandra.gms
Class EndpointState
java.lang.Object
org.apache.cassandra.gms.EndpointState
public class EndpointState
- extends java.lang.Object
This abstraction represents both the HeartBeatState and the ApplicationState in an EndpointState
instance. Any state for a given endpoint can be retrieved from this instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serializer
public static ICompactSerializer<EndpointState> serializer()
getApplicationState
public ApplicationState getApplicationState(java.lang.String key)
getApplicationStateMap
@Deprecated
public java.util.Map<java.lang.String,ApplicationState> getApplicationStateMap()
- Deprecated.
- TODO replace this with operations that don't expose private state
isAlive
public boolean isAlive()
setHasToken
public void setHasToken(boolean value)
getHasToken
public boolean getHasToken()
Copyright © 2010 The Apache Software Foundation