Class TestRpcRetryingCallerImpl.ThrowingCallable

java.lang.Object
org.apache.hadoop.hbase.client.TestRpcRetryingCallerImpl.ThrowingCallable
All Implemented Interfaces:
org.apache.hadoop.hbase.client.RetryingCallable<Void>
Enclosing class:
TestRpcRetryingCallerImpl

private static class TestRpcRetryingCallerImpl.ThrowingCallable extends Object implements org.apache.hadoop.hbase.client.RetryingCallable<Void>
  • Field Details

  • Constructor Details

    • ThrowingCallable

      public ThrowingCallable(Class<? extends org.apache.hadoop.hbase.HBaseServerException> exceptionClass, long specialPauseMillis)
  • Method Details

    • prepare

      public void prepare(boolean reload) throws IOException
      Specified by:
      prepare in interface org.apache.hadoop.hbase.client.RetryingCallable<Void>
      Throws:
      IOException
    • throwable

      public void throwable(Throwable t, boolean retrying)
      Specified by:
      throwable in interface org.apache.hadoop.hbase.client.RetryingCallable<Void>
    • getExceptionMessageAdditionalDetail

      Specified by:
      getExceptionMessageAdditionalDetail in interface org.apache.hadoop.hbase.client.RetryingCallable<Void>
    • sleep

      public long sleep(long pause, int tries)
      Specified by:
      sleep in interface org.apache.hadoop.hbase.client.RetryingCallable<Void>
    • call

      public Void call(int callTimeout) throws Exception
      Specified by:
      call in interface org.apache.hadoop.hbase.client.RetryingCallable<Void>
      Throws:
      Exception