Class ExecutionResult
java.lang.Object
io.nosqlbench.engine.core.lifecycle.ExecutionResult
- Direct Known Subclasses:
ExecutionMetricsResult
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionResult(long startedAt, long endedAt, String iolog, Exception error) -
Method Summary
Modifier and TypeMethodDescriptionlonggetIOLog()voidprintSummary(PrintStream out) voidvoidrethrow()toString()
-
Field Details
-
logger
protected static final org.apache.logging.log4j.Logger logger -
status
-
startedAt
protected final long startedAt -
endedAt
protected final long endedAt -
exception
-
iolog
-
-
Constructor Details
-
ExecutionResult
-
-
Method Details
-
printSummary
-
reportElapsedMillisToLog
public void reportElapsedMillisToLog() -
getIOLog
-
getElapsedMillis
public long getElapsedMillis() -
getException
-
rethrow
public void rethrow() -
getStatus
-
toString
-