Interface RSProcedureCallable

All Superinterfaces:
Callable<Void>
All Known Implementing Classes:
BaseRSProcedureCallable, ClaimReplicationQueueCallable, FlushRegionCallable, RefreshPeerCallable, SnapshotRegionCallable, SnapshotVerifyCallable, SplitWALCallable, SwitchRpcThrottleRemoteCallable

@Private public interface RSProcedureCallable extends Callable<Void>
A general interface for a sub procedure runs at RS side.
  • Method Summary

    Modifier and Type
    Method
    Description
    Event type used to select thread pool.
    void
    init(byte[] parameter, HRegionServer rs)
    Initialize the callable

    Methods inherited from interface java.util.concurrent.Callable

    call
  • Method Details

    • init

      void init(byte[] parameter, HRegionServer rs)
      Initialize the callable
      Parameters:
      parameter - the parameter passed from master.
      rs - the regionserver instance
    • getEventType

      Event type used to select thread pool.