Package org.apache.hadoop.hbase.client
Class TestMetaCache.CallQueueTooBigExceptionInjector
java.lang.Object
org.apache.hadoop.hbase.client.TestMetaCache.ExceptionInjector
org.apache.hadoop.hbase.client.TestMetaCache.CallQueueTooBigExceptionInjector
- Enclosing class:
- TestMetaCache
public static class TestMetaCache.CallQueueTooBigExceptionInjector
extends TestMetaCache.ExceptionInjector
Throws CallQueueTooBigException for all gets.
-
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
-
CallQueueTooBigExceptionInjector
public CallQueueTooBigExceptionInjector()
-
-
Method Details
-
throwOnGet
public void throwOnGet(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException - Specified by:
throwOnGet
in classTestMetaCache.ExceptionInjector
- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
throwOnMutate
public void throwOnMutate(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException - Specified by:
throwOnMutate
in classTestMetaCache.ExceptionInjector
- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
throwOnScan
public void throwOnScan(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException - Specified by:
throwOnScan
in classTestMetaCache.ExceptionInjector
- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-