Package org.apache.hadoop.hbase.client
Class TestAsyncClientPauseForRpcThrottling
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncClientPauseForRpcThrottling
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.AsyncConnection
private static byte[]
private static final AtomicInteger
private static final int
private static byte[]
private static final int
private static org.apache.hadoop.hbase.TableName
private static final AtomicBoolean
private static final HBaseTestingUtil
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertTime
(Callable<Void> callable, long time, boolean isGreater) private void
assertTimeBetween
(Callable<Void> callable, long minNs, long maxNs) private long
void
void
void
void
void
void
void
void
void
void
void
void
static void
setUp()
static void
tearDown()
-
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
-