org.neo4j.kernel.ha
Class SlaveTxIdGenerator
java.lang.Object
org.neo4j.kernel.ha.SlaveTxIdGenerator
- All Implemented Interfaces:
- TxIdGenerator
public class SlaveTxIdGenerator
- extends Object
- implements TxIdGenerator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlaveTxIdGenerator
public SlaveTxIdGenerator(Broker broker,
ResponseReceiver receiver,
TransactionManager txManager)
generate
public long generate(XaDataSource dataSource,
int identifier)
- Specified by:
generate in interface TxIdGenerator
getCurrentMasterId
public int getCurrentMasterId()
- Specified by:
getCurrentMasterId in interface TxIdGenerator
getMyId
public int getMyId()
- Specified by:
getMyId in interface TxIdGenerator
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.