@InterfaceAudience.Private public final class MultiAction<R> extends Object
Constructor and Description |
---|
MultiAction() |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] regionName,
Action<R> a)
Add an Action to this container based on it's regionName.
|
void |
add(byte[] regionName,
List<Action<R>> actionList)
Add an Action to this container based on it's regionName.
|
long |
getNonceGroup() |
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<R> a)
regionName
- a
- public void add(byte[] regionName, List<Action<R>> 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()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.