Package org.apache.hadoop.hbase.client
Class TestAsyncClientPauseForRpcThrottling
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncClientPauseForRpcThrottling
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.AsyncConnectionprivate static byte[]private static final AtomicIntegerprivate static final intprivate static byte[]private static final intprivate static org.apache.hadoop.hbase.TableNameprivate static final AtomicBooleanprivate static final HBaseTestingUtilityprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertTime(Callable<Void> callable, long time, boolean isGreater) private voidassertTimeBetween(Callable<Void> callable, long minNs, long maxNs) private longvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidstatic voidsetUp()static voidtearDown()
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
FAMILY
-
QUALIFIER
-
CONN
-
THROTTLE
-
FORCE_RETRIES
-
WAIT_INTERVAL_NANOS
-
RETRY_COUNT
- See Also:
-
MAX_MULTIPLIER_EXPECTATION
- See Also:
-
-
Constructor Details
-
TestAsyncClientPauseForRpcThrottling
public TestAsyncClientPauseForRpcThrottling()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
assertTime
- Throws:
Exception
-
assertTimeBetween
- Throws:
Exception
-
getCostNs
- Throws:
Exception
-
itWaitsForThrottledGet
- Throws:
Exception
-
itDoesNotWaitForUnthrottledGet
- Throws:
Exception
-
itDoesNotWaitForThrottledGetExceedingTimeout
- Throws:
Exception
-
itDoesNotMultiplyThrottledGetWait
- Throws:
Exception
-
itWaitsForThrottledBatch
- Throws:
Exception
-
itDoesNotWaitForUnthrottledBatch
- Throws:
Exception
-
itDoesNotWaitForThrottledBatchExceedingTimeout
- Throws:
Exception
-
itDoesNotMultiplyThrottledBatchWait
- Throws:
Exception
-
itWaitsForThrottledScan
- Throws:
Exception
-
itDoesNotWaitForUnthrottledScan
- Throws:
Exception
-
itDoesNotWaitForThrottledScanExceedingTimeout
- Throws:
Exception
-
itDoesNotMultiplyThrottledScanWait
- Throws:
Exception
-