@InterfaceAudience.Private public class Action extends Object implements Comparable<Action>
Table.batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row>, java.lang.Object[])
to associate the action with it's region and maintain the index from the
original request.Modifier and Type | Field and Description |
---|---|
private Row |
action |
private long |
nonce |
private int |
originalIndex |
private int |
priority |
private int |
replicaId |
Constructor and Description |
---|
Action(Action action,
int replicaId)
Creates an action for a particular replica from original action.
|
Action(Row action,
int originalIndex) |
Action(Row action,
int originalIndex,
int priority) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Action other) |
boolean |
equals(Object obj) |
Row |
getAction() |
long |
getNonce() |
int |
getOriginalIndex() |
int |
getPriority() |
int |
getReplicaId() |
int |
hashCode() |
boolean |
hasNonce() |
void |
setNonce(long nonce) |
private final int originalIndex
private long nonce
private int replicaId
private int priority
public void setNonce(long nonce)
public boolean hasNonce()
public int getOriginalIndex()
public int getReplicaId()
public int getPriority()
public int compareTo(Action other)
compareTo
in interface Comparable<Action>
public long getNonce()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.