Class ExecutionResult

java.lang.Object
io.nosqlbench.engine.core.lifecycle.ExecutionResult
Direct Known Subclasses:
ExecutionMetricsResult

public class ExecutionResult extends Object
Provide a result type back to a caller, including the start and end times, any exception that occurred, and any content written to stdout or stderr equivalent IO streams. This is an execution result.
  • Field Details

    • logger

      protected static final org.apache.logging.log4j.Logger logger
    • status

      protected final ExecutionResult.Status status
    • startedAt

      protected final long startedAt
    • endedAt

      protected final long endedAt
    • exception

      protected final Exception exception
    • iolog

      protected final String iolog
  • Constructor Details

    • ExecutionResult

      public ExecutionResult(long startedAt, long endedAt, String iolog, Exception error)
  • Method Details

    • printSummary

      public void printSummary(PrintStream out)
    • reportElapsedMillisToLog

      public void reportElapsedMillisToLog()
    • getIOLog

      public String getIOLog()
    • getElapsedMillis

      public long getElapsedMillis()
    • getException

      public Exception getException()
    • rethrow

      public void rethrow()
    • getStatus

      public ExecutionResult.Status getStatus()
    • toString

      public String toString()
      Overrides:
      toString in class Object