@InterfaceAudience.Private public class MultiResponse extends Object
| Constructor and Description | 
|---|
| MultiResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(byte[] regionName,
   int originalIndex,
   Object resOrEx) | 
| void | add(byte[] regionName,
   Pair<Integer,Object> r)Add the pair to the container, grouped by the regionName | 
| void | addException(byte[] regionName,
            Throwable ie) | 
| Throwable | getException(byte[] regionName) | 
| Map<byte[],Throwable> | getExceptions() | 
| Map<byte[],List<Pair<Integer,Object>>> | getResults() | 
| int | size() | 
public int size()
public void add(byte[] regionName,
       Pair<Integer,Object> r)
regionName - r - First item in the pair is the original index of the Action
          (request). Second item is the Result. Result will be empty for
          successful Put and Delete actions.public void add(byte[] regionName,
       int originalIndex,
       Object resOrEx)
public void addException(byte[] regionName,
                Throwable ie)
public Throwable getException(byte[] regionName)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.