public class ReplicationCompleted
extends java.lang.Object
Event posted when a state transition to COMPLETE or STOPPED is completed.
complete
may be called from one of the replicator's
worker threads.
Continuous replications (when implemented) will never complete.
Modifier and Type | Field and Description |
---|---|
int |
batchesReplicated
The total number of batches replicated by the
replicator |
int |
documentsReplicated
The total number of documents replicated by the
replicator |
Replicator |
replicator
The
Replicator issuing the event |
Constructor and Description |
---|
ReplicationCompleted(Replicator replicator,
int documentsReplicated,
int batchesReplicated) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public final Replicator replicator
Replicator
issuing the eventpublic final int documentsReplicated
replicator
public final int batchesReplicated
replicator
public ReplicationCompleted(Replicator replicator, int documentsReplicated, int batchesReplicated)