public abstract class SwitchToSlave extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SwitchToSlave.Monitor
Monitors events in
SwitchToSlave |
| Modifier and Type | Method and Description |
|---|---|
URI |
switchToSlave(org.neo4j.kernel.lifecycle.LifeSupport haCommunicationLife,
URI me,
URI masterUri,
org.neo4j.helpers.CancellationRequest cancellationRequest)
Performs a switch to the slave state.
|
public URI switchToSlave(org.neo4j.kernel.lifecycle.LifeSupport haCommunicationLife, URI me, URI masterUri, org.neo4j.helpers.CancellationRequest cancellationRequest) throws Throwable
haCommunicationLife - The LifeSupport instance to register the network facilities required for
communication with the rest of the clusterme - The URI this instance must bind tomasterUri - The URI of the master for which this instance must become slave tocancellationRequest - A handle for gracefully aborting the switchThrowableCopyright © 2002–2019 The Neo4j Graph Database Project. All rights reserved.