public class ClusterMembers extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.neo4j.function.Predicate<ClusterMember> |
ALIVE |
| Constructor and Description |
|---|
ClusterMembers(org.neo4j.cluster.protocol.cluster.Cluster cluster,
org.neo4j.cluster.protocol.heartbeat.Heartbeat heartbeat,
org.neo4j.cluster.member.ClusterMemberEvents events,
org.neo4j.cluster.InstanceId me) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ClusterMember> |
getMembers() |
ClusterMember |
getSelf() |
static org.neo4j.function.Predicate<ClusterMember> |
hasInstanceId(org.neo4j.cluster.InstanceId instanceId) |
static org.neo4j.function.Predicate<ClusterMember> |
inRole(String role) |
void |
waitForEvent(long timeout) |
public static final org.neo4j.function.Predicate<ClusterMember> ALIVE
public ClusterMembers(org.neo4j.cluster.protocol.cluster.Cluster cluster,
org.neo4j.cluster.protocol.heartbeat.Heartbeat heartbeat,
org.neo4j.cluster.member.ClusterMemberEvents events,
org.neo4j.cluster.InstanceId me)
public static org.neo4j.function.Predicate<ClusterMember> inRole(String role)
public static org.neo4j.function.Predicate<ClusterMember> hasInstanceId(org.neo4j.cluster.InstanceId instanceId)
public Iterable<ClusterMember> getMembers()
public ClusterMember getSelf()
public void waitForEvent(long timeout)
throws InterruptedException
InterruptedExceptionCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.