public interface ProgressTracker
| Modifier and Type | Method and Description |
|---|---|
void |
abort(DistributedOperation operation)
Called when an operation should be abnormally aborted
and removed from the tracker.
|
int |
inProgressCount()
Returns a count of the current number of in-progress tracked operations.
|
Progress |
start(DistributedOperation operation)
Called to start tracking the progress of an operation.
|
void |
trackReplication(DistributedOperation operation)
Called when an operation has been replicated and is waiting
for the operation to be locally applied.
|
void |
trackResult(DistributedOperation operation,
Result result)
Called when an operation has been applied and a result is
available.
|
void |
triggerReplicationEvent()
Called when a significant event related to replication
has occurred (i.e.
|
Progress start(DistributedOperation operation)
operation - The operation to track.void trackReplication(DistributedOperation operation)
operation - The operation that has been replicated.void trackResult(DistributedOperation operation, Result result)
operation - The operation that has been applied.result - The result of the operation.void abort(DistributedOperation operation)
operation - The operation to be aborted.void triggerReplicationEvent()
int inProgressCount()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.