public static class TestMetaCache.RoundRobinExceptionInjector extends TestMetaCache.ExceptionInjector
| Modifier and Type | Field and Description | 
|---|---|
| private int | expCount | 
| private List<Throwable> | metaCachePreservingExceptions | 
| private int | numReqs | 
| Constructor and Description | 
|---|
| RoundRobinExceptionInjector() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | 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) | 
| private void | throwSomeExceptions(TestMetaCache.FakeRSRpcServices rpcServices,
                   org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionSpecifier regionSpec)Throw some exceptions. | 
isTestTableprivate int numReqs
private int expCount
private List<Throwable> metaCachePreservingExceptions
public RoundRobinExceptionInjector()
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
throwOnGet in class TestMetaCache.ExceptionInjectororg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic void throwOnMutate(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
throwOnMutate in class TestMetaCache.ExceptionInjectororg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic void throwOnScan(TestMetaCache.FakeRSRpcServices rpcServices, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
throwOnScan in class TestMetaCache.ExceptionInjectororg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionprivate void throwSomeExceptions(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.ServiceExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.