private static class HRegion.ReplayBatch extends HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
Modifier and Type | Field and Description |
---|---|
private long |
replaySeqId |
nextIndexToProcess, operations, retCodeDetails, walEditsFromCoprocessors
Constructor and Description |
---|
HRegion.ReplayBatch(WALSplitter.MutationReplay[] operations,
long seqId) |
Modifier and Type | Method and Description |
---|---|
Mutation |
getMutation(int index) |
Mutation[] |
getMutationsForCoprocs()
This method is potentially expensive and should only be used for non-replay CP path.
|
long |
getNonce(int index) |
long |
getNonceGroup(int index) |
long |
getReplaySequenceId() |
boolean |
isInReplay() |
isDone
public HRegion.ReplayBatch(WALSplitter.MutationReplay[] operations, long seqId)
public Mutation getMutation(int index)
getMutation
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
public long getNonceGroup(int index)
getNonceGroup
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
public long getNonce(int index)
getNonce
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
public Mutation[] getMutationsForCoprocs()
HRegion.BatchOperationInProgress
getMutationsForCoprocs
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
public boolean isInReplay()
isInReplay
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
public long getReplaySequenceId()
getReplaySequenceId
in class HRegion.BatchOperationInProgress<WALSplitter.MutationReplay>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.