@InterfaceAudience.Private public final class MultiAction extends Object
AsyncProcess
.Modifier and Type | Field and Description |
---|---|
(package private) Map<byte[],List<Action>> |
actions
A map of regions to lists of puts/gets/deletes for that region.
|
private long |
nonceGroup |
Constructor and Description |
---|
MultiAction() |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] regionName,
Action a)
Add an Action to this container based on it's regionName.
|
void |
add(byte[] regionName,
List<Action> actionList)
Add an Action to this container based on it's regionName.
|
long |
getNonceGroup() |
int |
getPriority() |
Set<byte[]> |
getRegions() |
boolean |
hasNonceGroup() |
void |
setNonceGroup(long nonceGroup) |
int |
size()
Get the total number of Actions
|
Map<byte[],List<Action>> actions
private long nonceGroup
public MultiAction()
public int size()
public void add(byte[] regionName, Action a)
public void add(byte[] regionName, List<Action> actionList)
public void setNonceGroup(long nonceGroup)
public Set<byte[]> getRegions()
public boolean hasNonceGroup()
public long getNonceGroup()
public int getPriority()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.