org.neo4j.kernel.ha.transaction
Class TxIdGeneratorModeSwitcher
java.lang.Object
org.neo4j.kernel.ha.cluster.AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator>
org.neo4j.kernel.ha.transaction.TxIdGeneratorModeSwitcher
- All Implemented Interfaces:
- org.neo4j.kernel.lifecycle.Lifecycle
public class TxIdGeneratorModeSwitcher
- extends AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator>
|
Method Summary |
protected org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator |
getMasterImpl()
|
protected org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator |
getSlaveImpl(URI serverHaUri)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxIdGeneratorModeSwitcher
public TxIdGeneratorModeSwitcher(HighAvailabilityMemberStateMachine stateMachine,
DelegateInvocationHandler<org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator> delegate,
HaXaDataSourceManager xaDsm,
Master master,
RequestContextFactory requestContextFactory,
org.neo4j.kernel.impl.util.StringLogger msgLog,
org.neo4j.kernel.configuration.Config config,
Slaves slaves)
getMasterImpl
protected org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator getMasterImpl()
- Specified by:
getMasterImpl in class AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator>
getSlaveImpl
protected org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator getSlaveImpl(URI serverHaUri)
- Specified by:
getSlaveImpl in class AbstractModeSwitcher<org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator>
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.