Package org.apache.hadoop.hbase.client
Class TestMetaCache.LockSleepInjector
java.lang.Object
org.apache.hadoop.hbase.client.TestMetaCache.ExceptionInjector
org.apache.hadoop.hbase.client.TestMetaCache.LockSleepInjector
- Enclosing class:
- TestMetaCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
throwOnGet
(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) void
throwOnMutate
(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) void
throwOnScan
(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) Methods inherited from class org.apache.hadoop.hbase.client.TestMetaCache.ExceptionInjector
isTestTable
-
Constructor Details
-
LockSleepInjector
public LockSleepInjector()
-
-
Method Details
-
throwOnScan
public void throwOnScan(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) - Specified by:
throwOnScan
in classTestMetaCache.ExceptionInjector
-
throwOnGet
public void throwOnGet(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) - Specified by:
throwOnGet
in classTestMetaCache.ExceptionInjector
-
throwOnMutate
public void throwOnMutate(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) - Specified by:
throwOnMutate
in classTestMetaCache.ExceptionInjector
-