Class TestMetaCache.ExceptionInjector

java.lang.Object
org.apache.hadoop.hbase.client.TestMetaCache.ExceptionInjector
Direct Known Subclasses:
TestMetaCache.CallQueueTooBigExceptionInjector, TestMetaCache.LockSleepInjector, TestMetaCache.RoundRobinExceptionInjector
Enclosing class:
TestMetaCache

public abstract static class TestMetaCache.ExceptionInjector extends Object
  • Constructor Details

  • Method Details

    • isTestTable

      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
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
    • throwOnGet

      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
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
    • throwOnMutate

      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
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
    • throwOnScan

      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
      Throws:
      org.apache.hbase.thirdparty.com.google.protobuf.ServiceException