Class TestMetricsRegionServerAggregate
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMetricsRegionServerAggregate
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegion
getMockedRegion
(org.mockito.stubbing.Answer defaultAnswer, String name, String localOnHost, boolean isPrimary, AtomicInteger storeFileCount) private <T extends org.apache.hadoop.hbase.regionserver.HStore>
TgetMockedStore
(Class<T> clazz, org.mockito.stubbing.Answer defaultAnswer, AtomicInteger storeFileCount) void
test()
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMetricsRegionServerAggregate
public TestMetricsRegionServerAggregate()
-
-
Method Details
-
test
-
getMockedRegion
private org.apache.hadoop.hbase.regionserver.HRegion getMockedRegion(org.mockito.stubbing.Answer defaultAnswer, String name, String localOnHost, boolean isPrimary, AtomicInteger storeFileCount) -
getMockedStore
private <T extends org.apache.hadoop.hbase.regionserver.HStore> T getMockedStore(Class<T> clazz, org.mockito.stubbing.Answer defaultAnswer, AtomicInteger storeFileCount)
-