Package org.apache.hadoop.hbase.client
Class TestAsyncQuotaAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncQuotaAdminApi
@Tag("org.apache.hadoop.hbase.testclassification.ClientTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestAsyncQuotaAdminApi
extends TestAsyncAdminBase
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
admin, ASYNC_CONN, FAMILY, FAMILY_0, FAMILY_1, getAdmin, LOG, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncQuotaAdminApi(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNumResults(int expected, org.apache.hadoop.hbase.quotas.QuotaFilter filter) private intcountResults(org.apache.hadoop.hbase.quotas.QuotaFilter filter) static voidstatic voidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, parameters, setUp, tearDownMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Constructor Details
-
TestAsyncQuotaAdminApi
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testThrottleType
- Throws:
Exception
-
testQuotaRetrieverFilter
- Throws:
Exception
-
testSwitchRpcThrottle
- Throws:
Exception
-
testSwitchExceedThrottleQuota
- Throws:
Exception
-
assertNumResults
private void assertNumResults(int expected, org.apache.hadoop.hbase.quotas.QuotaFilter filter) throws Exception - Throws:
Exception
-
countResults
- Throws:
Exception
-