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
FieldsModifier and TypeFieldDescriptionprivate final IOExceptionprivate org.apache.hadoop.hbase.client.MultiActionFields inherited from class org.apache.hadoop.hbase.client.RpcRetryingCallerImpl
LOG -
Constructor Summary
ConstructorsConstructorDescriptionCallerWithRegionException(IOException e, org.apache.hadoop.hbase.client.MultiAction multi) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.AbstractResponsecallWithoutRetries(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:
callWithoutRetriesin interfaceorg.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse>- Overrides:
callWithoutRetriesin classorg.apache.hadoop.hbase.client.RpcRetryingCallerImpl<org.apache.hadoop.hbase.client.AbstractResponse>- Throws:
IOExceptionRuntimeException
-