private static class HRegion.MutationBatch extends HRegion.BatchOperationInProgress<Mutation>
Modifier and Type | Field and Description |
---|---|
private long |
nonce |
private long |
nonceGroup |
nextIndexToProcess, operations, retCodeDetails, walEditsFromCoprocessors
Constructor and Description |
---|
HRegion.MutationBatch(Mutation[] operations,
long nonceGroup,
long nonce) |
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.MutationBatch(Mutation[] operations, long nonceGroup, long nonce)
public Mutation getMutation(int index)
getMutation
in class HRegion.BatchOperationInProgress<Mutation>
public long getNonceGroup(int index)
getNonceGroup
in class HRegion.BatchOperationInProgress<Mutation>
public long getNonce(int index)
getNonce
in class HRegion.BatchOperationInProgress<Mutation>
public Mutation[] getMutationsForCoprocs()
HRegion.BatchOperationInProgress
getMutationsForCoprocs
in class HRegion.BatchOperationInProgress<Mutation>
public boolean isInReplay()
isInReplay
in class HRegion.BatchOperationInProgress<Mutation>
public long getReplaySequenceId()
getReplaySequenceId
in class HRegion.BatchOperationInProgress<Mutation>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.