public abstract static class TestMetaCache.ExceptionInjector extends Object
Constructor and Description |
---|
ExceptionInjector() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTestTable(TestMetaCache.FakeRSRpcServices rpcServices,
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionSpecifier regionSpec) |
abstract void |
throwOnGet(TestMetaCache.FakeRSRpcServices rpcServices,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) |
abstract void |
throwOnMutate(TestMetaCache.FakeRSRpcServices rpcServices,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) |
abstract void |
throwOnScan(TestMetaCache.FakeRSRpcServices rpcServices,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) |
public ExceptionInjector()
protected boolean isTestTable(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionSpecifier regionSpec) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
public abstract void throwOnGet(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
public abstract void throwOnMutate(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
public abstract void throwOnScan(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.