Class TestRpcHandlerException.AbortServer

java.lang.Object
org.apache.hadoop.hbase.ipc.TestRpcHandlerException.AbortServer
All Implemented Interfaces:
org.apache.hadoop.hbase.Abortable
Enclosing class:
TestRpcHandlerException

private class TestRpcHandlerException.AbortServer extends Object implements org.apache.hadoop.hbase.Abortable
Tests that the rpc scheduler is called when requests arrive. When Rpc handler thread dies, the client will hang and the test will fail. The test is meant to be a unit test to test the behavior.
  • Field Details

    • aborted

      private boolean aborted
  • Constructor Details

  • Method Details

    • abort

      public void abort(String why, Throwable e)
      Specified by:
      abort in interface org.apache.hadoop.hbase.Abortable
    • isAborted

      public boolean isAborted()
      Specified by:
      isAborted in interface org.apache.hadoop.hbase.Abortable