public class UpdatePullingTransactionObligationFulfiller
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
implements org.neo4j.com.storecopy.TransactionObligationFulfiller
UpdatePuller and awaiting it to commit and apply
the desired transactions.| Constructor and Description |
|---|
UpdatePullingTransactionObligationFulfiller(UpdatePuller updatePuller,
HighAvailabilityMemberStateMachine memberStateMachine,
org.neo4j.cluster.InstanceId serverId,
Supplier<org.neo4j.kernel.impl.transaction.log.TransactionIdStore> transactionIdStoreSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
fulfill(long toTxId)
Triggers pulling of updates up until at least
toTxId if no pulling is currently happening
and returns immediately. |
void |
start() |
void |
stop() |
public UpdatePullingTransactionObligationFulfiller(UpdatePuller updatePuller, HighAvailabilityMemberStateMachine memberStateMachine, org.neo4j.cluster.InstanceId serverId, Supplier<org.neo4j.kernel.impl.transaction.log.TransactionIdStore> transactionIdStoreSupplier)
public void fulfill(long toTxId)
throws InterruptedException
toTxId if no pulling is currently happening
and returns immediately.fulfill in interface org.neo4j.com.storecopy.TransactionObligationFulfillerInterruptedExceptionpublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowableCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.