T - public abstract class AbstractModeSwitcher<T> extends Object implements org.neo4j.kernel.lifecycle.Lifecycle
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModeSwitcher(HighAvailability highAvailability,
DelegateInvocationHandler<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
getMasterImpl() |
protected abstract T |
getSlaveImpl(URI serverHaUri) |
void |
init() |
void |
shutdown() |
void |
start() |
void |
stop() |
protected AbstractModeSwitcher(HighAvailability highAvailability, DelegateInvocationHandler<T> delegate)
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.LifecycleThrowableprotected abstract T getMasterImpl()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.