com.continuent.tungsten.common.cluster.resource
Class ClusterMember

java.lang.Object
  extended by com.continuent.tungsten.common.cluster.resource.ClusterMember

public class ClusterMember
extends java.lang.Object

Stores information about a cluster member that is helpful in deciding whether a group of members has quorum. To prevent construction of inconsistent member sets the constructor and setter methods are package protected.


Method Summary
 java.lang.String getName()
          Returns the member name.
 java.lang.Boolean getReachable()
          Returns true if this member is reachable using a ping command over the network.
 java.lang.Boolean getValidated()
          Returns true if this member has been validated by pinging through GC.
 boolean isConfigured()
          Returns true if the member belongs to the external configuration.
 boolean isInView()
          Returns true if the member is in the current group view.
 boolean isWitness()
          Returns true if this member is actually a witness host.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the member name.


isConfigured

public boolean isConfigured()
Returns true if the member belongs to the external configuration.


isInView

public boolean isInView()
Returns true if the member is in the current group view.


isWitness

public boolean isWitness()
Returns true if this member is actually a witness host.


getValidated

public java.lang.Boolean getValidated()
Returns true if this member has been validated by pinging through GC.


getReachable

public java.lang.Boolean getReachable()
Returns true if this member is reachable using a ping command over the network.