Package org.apache.hadoop.hbase.client
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends org.apache.hadoop.hbase.HBaseServerException>private final long -
Constructor Summary
ConstructorsConstructorDescriptionThrowingCallable(Class<? extends org.apache.hadoop.hbase.HBaseServerException> exceptionClass, long specialPauseMillis) -
Method Summary
-
Field Details
-
exceptionClass
-
specialPauseMillis
-
-
Constructor Details
-
ThrowingCallable
public ThrowingCallable(Class<? extends org.apache.hadoop.hbase.HBaseServerException> exceptionClass, long specialPauseMillis)
-
-
Method Details
-
prepare
- Specified by:
preparein interfaceorg.apache.hadoop.hbase.client.RetryingCallable<Void>- Throws:
IOException
-
throwable
- Specified by:
throwablein interfaceorg.apache.hadoop.hbase.client.RetryingCallable<Void>
-
getExceptionMessageAdditionalDetail
- Specified by:
getExceptionMessageAdditionalDetailin interfaceorg.apache.hadoop.hbase.client.RetryingCallable<Void>
-
sleep
- Specified by:
sleepin interfaceorg.apache.hadoop.hbase.client.RetryingCallable<Void>
-
call
-