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

    Fields
    Modifier and Type
    Field
    Description
    private final IOException
     
    private org.apache.hadoop.hbase.client.MultiAction
     

    Fields inherited from class org.apache.hadoop.hbase.client.RpcRetryingCallerImpl

    LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
    CallerWithRegionException(IOException e, org.apache.hadoop.hbase.client.MultiAction multi)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • e

      private final IOException e
    • multi

      private org.apache.hadoop.hbase.client.MultiAction multi
  • Constructor Details

  • 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 interface org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse>
      Overrides:
      callWithoutRetries in class org.apache.hadoop.hbase.client.RpcRetryingCallerImpl<org.apache.hadoop.hbase.client.AbstractResponse>
      Throws:
      IOException
      RuntimeException