org.neo4j.kernel.ha
Class MasterTxIdGenerator
java.lang.Object
org.neo4j.kernel.ha.MasterTxIdGenerator
- All Implemented Interfaces:
- org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator
public class MasterTxIdGenerator
- extends Object
- implements org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator
| Fields inherited from interface org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator |
DEFAULT |
|
Method Summary |
long |
generate(org.neo4j.kernel.impl.transaction.xaframework.XaDataSource dataSource,
int identifier)
|
int |
getCurrentMasterId()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterTxIdGenerator
public MasterTxIdGenerator(Broker broker)
generate
public long generate(org.neo4j.kernel.impl.transaction.xaframework.XaDataSource dataSource,
int identifier)
- Specified by:
generate in interface org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator
getCurrentMasterId
public int getCurrentMasterId()
- Specified by:
getCurrentMasterId in interface org.neo4j.kernel.impl.transaction.xaframework.TxIdGenerator
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.