Neo4j

org.neo4j.management
Class ClusterMemberInfo

java.lang.Object
  extended by org.neo4j.management.ClusterMemberInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClusterDatabaseInfo

public class ClusterMemberInfo
extends Object
implements Serializable

This class captures the least amount of information available for a cluster member to any cluster participant.

See Also:
Serialized Form

Constructor Summary
ClusterMemberInfo(String instanceId, boolean available, boolean alive, String haRole, String[] uris, String[] roles)
           
 
Method Summary
 Pair<Neo4jManager,HighAvailability> connect()
           
 Pair<Neo4jManager,HighAvailability> connect(String username, String password)
           
 String getHaRole()
           
 String getInstanceId()
           
 String[] getRoles()
           
 String[] getUris()
           
 boolean isAlive()
           
 boolean isAvailable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterMemberInfo

@ConstructorProperties(value={"instanceId","available","alive","haRole","uris","roles"})
public ClusterMemberInfo(String instanceId,
                                                    boolean available,
                                                    boolean alive,
                                                    String haRole,
                                                    String[] uris,
                                                    String[] roles)
Method Detail

getInstanceId

public String getInstanceId()

isAvailable

public boolean isAvailable()

isAlive

public boolean isAlive()

getHaRole

public String getHaRole()

getUris

public String[] getUris()

getRoles

public String[] getRoles()

toString

public String toString()
Overrides:
toString in class Object

connect

public Pair<Neo4jManager,HighAvailability> connect()

connect

public Pair<Neo4jManager,HighAvailability> connect(String username,
                                                   String password)

Neo4j

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