Package org.apache.hadoop.hbase.client
Class TestAsyncClientPushback
java.lang.Object
org.apache.hadoop.hbase.client.ClientPushbackTestBase
org.apache.hadoop.hbase.client.TestAsyncClientPushback
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.client.AsyncConnectionImpl
private org.apache.hadoop.hbase.client.AsyncBufferedMutator
Fields inherited from class org.apache.hadoop.hbase.client.ClientPushbackTestBase
tableName, UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
protected org.apache.hadoop.hbase.client.MetricsConnection
protected org.apache.hadoop.hbase.client.ServerStatisticTracker
protected void
mutate
(org.apache.hadoop.hbase.client.Put put) protected void
mutate
(org.apache.hadoop.hbase.client.Put put, AtomicLong endTime, CountDownLatch latch) protected void
mutateRow
(org.apache.hadoop.hbase.client.RowMutations mutations) void
setUp()
void
tearDown()
Methods inherited from class org.apache.hadoop.hbase.client.ClientPushbackTestBase
cleanupCluster, setupCluster, testClientTracksServerPushback, testMutateRowStats
-
Field Details
-
CLASS_RULE
-
conn
-
mutator
-
-
Constructor Details
-
TestAsyncClientPushback
public TestAsyncClientPushback()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
getBackoffPolicy
protected org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy() throws IOException- Specified by:
getBackoffPolicy
in classClientPushbackTestBase
- Throws:
IOException
-
getStatisticsTracker
protected org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker() throws IOException- Specified by:
getStatisticsTracker
in classClientPushbackTestBase
- Throws:
IOException
-
getConnectionMetrics
protected org.apache.hadoop.hbase.client.MetricsConnection getConnectionMetrics() throws IOException- Specified by:
getConnectionMetrics
in classClientPushbackTestBase
- Throws:
IOException
-
mutate
- Specified by:
mutate
in classClientPushbackTestBase
- Throws:
IOException
-
mutate
protected void mutate(org.apache.hadoop.hbase.client.Put put, AtomicLong endTime, CountDownLatch latch) throws IOException - Specified by:
mutate
in classClientPushbackTestBase
- Throws:
IOException
-
mutateRow
- Specified by:
mutateRow
in classClientPushbackTestBase
- Throws:
IOException
-