Package org.apache.hadoop.hbase.client
Class TestAsyncProcess.CallerWithRegionException
java.lang.Object
org.apache.hadoop.hbase.client.RpcRetryingCallerImpl<org.apache.hadoop.hbase.client.AbstractResponse>
org.apache.hadoop.hbase.client.TestAsyncProcess.CallerWithRegionException
- All Implemented Interfaces:
org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse>
- Enclosing class:
- TestAsyncProcess
static class TestAsyncProcess.CallerWithRegionException
extends org.apache.hadoop.hbase.client.RpcRetryingCallerImpl<org.apache.hadoop.hbase.client.AbstractResponse>
Used to simulate the case where a RegionServer responds to a multi request, but some or all of
the actions have an Exception instead of Result. These responses go through receiveMultiAction,
which has handling for individual action failures.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IOException
private org.apache.hadoop.hbase.client.MultiAction
Fields inherited from class org.apache.hadoop.hbase.client.RpcRetryingCallerImpl
LOG
-
Constructor Summary
ConstructorDescriptionCallerWithRegionException
(IOException e, org.apache.hadoop.hbase.client.MultiAction multi) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.AbstractResponse
callWithoutRetries
(org.apache.hadoop.hbase.client.RetryingCallable<org.apache.hadoop.hbase.client.AbstractResponse> callable, int callTimeout) Methods inherited from class org.apache.hadoop.hbase.client.RpcRetryingCallerImpl
callWithRetries, cancel, toString, translateException
-
Field Details
-
e
-
multi
-
-
Constructor Details
-
CallerWithRegionException
-
-
Method Details
-
callWithoutRetries
public org.apache.hadoop.hbase.client.AbstractResponse callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable<org.apache.hadoop.hbase.client.AbstractResponse> callable, int callTimeout) throws IOException, RuntimeException - Specified by:
callWithoutRetries
in interfaceorg.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse>
- Overrides:
callWithoutRetries
in classorg.apache.hadoop.hbase.client.RpcRetryingCallerImpl<org.apache.hadoop.hbase.client.AbstractResponse>
- Throws:
IOException
RuntimeException
-