org.neo4j.kernel.ha.cluster.member
Class ClusterMember

java.lang.Object
  extended by org.neo4j.kernel.ha.cluster.member.ClusterMember

public class ClusterMember
extends Object


Constructor Summary
ClusterMember(URI clusterUri)
           
 
Method Summary
 boolean equals(Object o)
           
 URI getClusterUri()
           
 String getHARole()
           
 URI getHAUri()
           
 int getInstanceId()
           
 Iterable<String> getRoles()
           
 URI getRoleURI(String role)
           
 Iterable<URI> getRoleURIs()
           
 int hashCode()
           
 boolean hasRole(String role)
           
 boolean isAlive()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterMember

public ClusterMember(URI clusterUri)
Method Detail

getClusterUri

public URI getClusterUri()

getInstanceId

public int getInstanceId()

getHAUri

public URI getHAUri()

getHARole

public String getHARole()

hasRole

public boolean hasRole(String role)

getRoleURI

public URI getRoleURI(String role)

getRoles

public Iterable<String> getRoles()

getRoleURIs

public Iterable<URI> getRoleURIs()

isAlive

public boolean isAlive()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.