@InterfaceAudience.Private public final class MultiAction extends Object
AsyncProcess.| Modifier and Type | Field and Description | 
|---|---|
protected Map<byte[],List<Action>> | 
actions  | 
| 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 
 | 
public int size()
public void add(byte[] regionName,
                Action a)
regionName - a - public void add(byte[] regionName,
                List<Action> actionList)
regionName - actionList - list of actions to add for the regionpublic void setNonceGroup(long nonceGroup)
public Set<byte[]> getRegions()
public boolean hasNonceGroup()
public long getNonceGroup()
public int getPriority()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.