public class ClusterIdentity extends Object
| Constructor and Description |
|---|
ClusterIdentity(SimpleStorage<ClusterId> clusterIdStorage,
CoreTopologyService topologyService,
org.neo4j.logging.LogProvider logProvider,
Clock clock,
org.neo4j.function.ThrowingAction<InterruptedException> retryWaiter,
long timeoutMillis,
CoreBootstrapper coreBootstrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindToCluster(org.neo4j.function.ThrowingConsumer<CoreSnapshot,Throwable> snapshotInstaller)
The cluster binding process tries to establish a common cluster ID.
|
ClusterId |
clusterId() |
public ClusterIdentity(SimpleStorage<ClusterId> clusterIdStorage, CoreTopologyService topologyService, org.neo4j.logging.LogProvider logProvider, Clock clock, org.neo4j.function.ThrowingAction<InterruptedException> retryWaiter, long timeoutMillis, CoreBootstrapper coreBootstrapper)
public void bindToCluster(org.neo4j.function.ThrowingConsumer<CoreSnapshot,Throwable> snapshotInstaller) throws Throwable
IOException - If there is an issue with I/O.InterruptedException - If the process gets interrupted.TimeoutException - If the process times out.Throwablepublic ClusterId clusterId()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.