public class ClusterJoin
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
On start it will try to join the cluster specified by the initial hosts. After start finishes it will have either joined an existing cluster or created a new one. On stop it will leave the cluster, but will fail and continue the stop after one minute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterJoin.Configuration |
| Constructor and Description |
|---|
ClusterJoin(ClusterJoin.Configuration config,
ProtocolServer protocolServer,
org.neo4j.kernel.impl.logging.LogService logService) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
public ClusterJoin(ClusterJoin.Configuration config, ProtocolServer protocolServer, org.neo4j.kernel.impl.logging.LogService logService)
public void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void stop()
stop in interface org.neo4j.kernel.lifecycle.Lifecyclestop in class org.neo4j.kernel.lifecycle.LifecycleAdapterCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.