org.neo4j.management
Class ClusterMemberInfo
java.lang.Object
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
ClusterMemberInfo
@ConstructorProperties(value={"instanceId","available","alive","haRole","uris","roles"})
public ClusterMemberInfo(String instanceId,
boolean available,
boolean alive,
String haRole,
String[] uris,
String[] roles)
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)
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.