Class TestAsyncProcess.AsyncProcessForThrowableCheck

java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncProcess.AsyncProcessForThrowableCheck
Enclosing class:
TestAsyncProcess

  • Field Details

    • PRIMARY_CALL_TIMEOUT_KEY

      public static final String PRIMARY_CALL_TIMEOUT_KEY
      See Also:
    • START_LOG_ERRORS_AFTER_COUNT_KEY

      public static final String START_LOG_ERRORS_AFTER_COUNT_KEY
      See Also:
    • DEFAULT_START_LOG_ERRORS_AFTER_COUNT

      public static final int DEFAULT_START_LOG_ERRORS_AFTER_COUNT
      See Also:
    • LOG_DETAILS_FOR_BATCH_ERROR

      public static final String LOG_DETAILS_FOR_BATCH_ERROR
      See Also:
    • id

      final long id
    • connection

      final org.apache.hadoop.hbase.client.ClusterConnection connection
    • connectionConfiguration

      final org.apache.hadoop.hbase.client.ConnectionConfiguration connectionConfiguration
    • rpcFactory

      final org.apache.hadoop.hbase.ipc.RpcControllerFactory rpcFactory
    • startLogErrorsCnt

      final int startLogErrorsCnt
    • numTries

      final int numTries
    • serverTrackerTimeout

      long serverTrackerTimeout
    • primaryCallTimeoutMicroseconds

      final long primaryCallTimeoutMicroseconds
    • logBatchErrorDetails

      final boolean logBatchErrorDetails
    • requestController

      final org.apache.hadoop.hbase.client.RequestController requestController
    • LOG_DETAILS_PERIOD

      public static final String LOG_DETAILS_PERIOD
      See Also:
  • Constructor Details

    • AsyncProcessForThrowableCheck

      public AsyncProcessForThrowableCheck(org.apache.hadoop.hbase.client.ClusterConnection hc, org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • submit

      public <CResult extends Object> org.apache.hadoop.hbase.client.AsyncRequestFuture submit(org.apache.hadoop.hbase.client.AsyncProcessTask<CResult> arg0) throws InterruptedIOException
      Throws:
      InterruptedIOException
    • submitMultiActions

      <CResult extends Object> org.apache.hadoop.hbase.client.AsyncRequestFuture submitMultiActions(org.apache.hadoop.hbase.client.AsyncProcessTask arg0, List<org.apache.hadoop.hbase.client.Action> arg1, long arg2, List<Exception> arg3, List<Integer> arg4, Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg5)
    • addAction

      static void addAction(org.apache.hadoop.hbase.ServerName arg0, byte[] arg1, org.apache.hadoop.hbase.client.Action arg2, Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg3, long arg4)
    • createAsyncRequestFuture

      <CResult extends Object> org.apache.hadoop.hbase.client.AsyncRequestFutureImpl<CResult> createAsyncRequestFuture(org.apache.hadoop.hbase.client.AsyncProcessTask arg0, List<org.apache.hadoop.hbase.client.Action> arg1, long arg2)
    • waitForMaximumCurrentTasks

      protected void waitForMaximumCurrentTasks(int arg0, org.apache.hadoop.hbase.TableName arg1) throws InterruptedIOException
      Throws:
      InterruptedIOException
    • incTaskCounters

      void incTaskCounters(Collection<byte[]> arg0, org.apache.hadoop.hbase.ServerName arg1)
    • decTaskCounters

      void decTaskCounters(Collection<byte[]> arg0, org.apache.hadoop.hbase.ServerName arg1)
    • createCaller

      protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable arg0, int arg1)
    • createServerErrorTracker

      org.apache.hadoop.hbase.client.ConnectionImplementation.ServerErrorTracker createServerErrorTracker()
    • isReplicaGet

      static boolean isReplicaGet(org.apache.hadoop.hbase.client.Row arg0)