Class ActivityRuntimeInfo

java.lang.Object
io.nosqlbench.engine.core.lifecycle.activity.ActivityRuntimeInfo
All Implemented Interfaces:
ProgressCapable

public class ActivityRuntimeInfo extends Object implements ProgressCapable
  • Constructor Details

  • Method Details

    • getProgressMeter

      public ProgressMeterDisplay getProgressMeter()
      Specified by:
      getProgressMeter in interface ProgressCapable
    • getFuture

      public Future<ExecutionResult> getFuture()
    • awaitResult

      public ExecutionResult awaitResult(long timeoutMillis)
      Wait until the execution is complete and return the result.
      Parameters:
      timeoutMillis -
      Returns:
      null, or an ExecutionResult if the execution completed
      Throws:
      RuntimeException - if there was an execution exception
    • getActivity

      public Activity getActivity()
    • isRunning

      public boolean isRunning()
    • getRunState

      public RunState getRunState()
    • stopActivity

      public void stopActivity()
    • forceStopActivity

      public void forceStopActivity()
    • getActivityExecutor

      public ActivityExecutor getActivityExecutor()
    • awaitAllThreadsOnline

      public boolean awaitAllThreadsOnline(long timeoutMs)