Class BenchmarkCleanupTimeoutException

All Implemented Interfaces:
Serializable

public final class BenchmarkCleanupTimeoutException extends IllegalStateException
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 Details

    • BenchmarkCleanupTimeoutException

      public BenchmarkCleanupTimeoutException(long timeoutSeconds, Throwable initiatingFailure)
      Creates a cleanup deadline failure.
      Parameters:
      timeoutSeconds - hard cleanup deadline in seconds
      initiatingFailure - failure that originally requested shutdown, or null
    • 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 seconds
      initiatingFailure - failure retained as the cause
      finalResultsPublished - whether all final aggregates were published