public final class MultiAction<R> extends Object implements org.apache.hadoop.io.Writable
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.
|
List<Action<R>> |
allActions() |
Set<byte[]> |
getRegions() |
void |
readFields(DataInput in) |
int |
size()
Get the total number of Actions
|
void |
write(DataOutput out) |
public int size()
public void add(byte[] regionName, Action<R> a)
regionName
- a
- public Set<byte[]> getRegions()
public List<Action<R>> allActions()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.