Class BenchmarkCleanupTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.sbk.exception.BenchmarkCleanupTimeoutException
- All Implemented Interfaces:
Serializable
Signals that bounded cleanup expired after a benchmark failure or before final results.
Cleanup timeout without an existing benchmark failure is warning-only only when every active performance recorder has already published its final aggregate.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBenchmarkCleanupTimeoutException(long timeoutSeconds, Throwable initiatingFailure) Creates a cleanup deadline failure.BenchmarkCleanupTimeoutException(long timeoutSeconds, Throwable initiatingFailure, boolean finalResultsPublished) Creates a cleanup deadline failure with explicit final-result state. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BenchmarkCleanupTimeoutException
Creates a cleanup deadline failure.- Parameters:
timeoutSeconds- hard cleanup deadline in secondsinitiatingFailure- failure that originally requested shutdown, ornull
-
BenchmarkCleanupTimeoutException
public BenchmarkCleanupTimeoutException(long timeoutSeconds, Throwable initiatingFailure, boolean finalResultsPublished) Creates a cleanup deadline failure with explicit final-result state.- Parameters:
timeoutSeconds- hard cleanup deadline in secondsinitiatingFailure- failure retained as the causefinalResultsPublished- whether all final aggregates were published
-