org.neo4j.kernel.ha.transaction
Class TxHookModeSwitcher
java.lang.Object
org.neo4j.kernel.ha.cluster.AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.RemoteTxHook>
org.neo4j.kernel.ha.transaction.TxHookModeSwitcher
- All Implemented Interfaces:
- org.neo4j.kernel.lifecycle.Lifecycle
public class TxHookModeSwitcher
- extends AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.RemoteTxHook>
|
Method Summary |
protected org.neo4j.kernel.impl.transaction.RemoteTxHook |
getMasterImpl()
|
protected org.neo4j.kernel.impl.transaction.RemoteTxHook |
getSlaveImpl(URI serverHaUri)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxHookModeSwitcher
public TxHookModeSwitcher(HighAvailabilityMemberStateMachine stateMachine,
DelegateInvocationHandler<org.neo4j.kernel.impl.transaction.RemoteTxHook> delegate,
DelegateInvocationHandler<Master> master,
TxHookModeSwitcher.RequestContextFactoryResolver requestContextFactory,
org.neo4j.graphdb.DependencyResolver resolver)
getMasterImpl
protected org.neo4j.kernel.impl.transaction.RemoteTxHook getMasterImpl()
- Specified by:
getMasterImpl in class AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.RemoteTxHook>
getSlaveImpl
protected org.neo4j.kernel.impl.transaction.RemoteTxHook getSlaveImpl(URI serverHaUri)
- Specified by:
getSlaveImpl in class AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.RemoteTxHook>
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.