Class AccumuloReplicaSystem.WalReplication
- java.lang.Object
-
- org.apache.accumulo.tserver.replication.AccumuloReplicaSystem.ReplicationStats
-
- org.apache.accumulo.tserver.replication.AccumuloReplicaSystem.WalReplication
-
- Enclosing class:
- AccumuloReplicaSystem
public static class AccumuloReplicaSystem.WalReplication extends AccumuloReplicaSystem.ReplicationStats
A "struct" to avoid a nested Entry. Contains the resultant information from collecting data for replication
-
-
Field Summary
Fields Modifier and Type Field Description long
numUpdates
The number of updates contained in this batchWalEdits
walEdits
The data to send over the wire-
Fields inherited from class org.apache.accumulo.tserver.replication.AccumuloReplicaSystem.ReplicationStats
entriesConsumed, sizeInBytes, sizeInRecords
-
-
Constructor Summary
Constructors Constructor Description WalReplication(WalEdits edits, long size, long entriesConsumed, long numMutations)
-
-
-
Field Detail
-
walEdits
public WalEdits walEdits
The data to send over the wire
-
numUpdates
public long numUpdates
The number of updates contained in this batch
-
-
Constructor Detail
-
WalReplication
public WalReplication(WalEdits edits, long size, long entriesConsumed, long numMutations)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAccumuloReplicaSystem.ReplicationStats
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAccumuloReplicaSystem.ReplicationStats
-
-