Class JobTimedOut
- All Implemented Interfaces:
FailureEvent, LifecycleEvent, TerminalEvent, JobEvent, Serializable
Event published when a job exceeds its maximum execution time. A
FailureEvent with
no error: the budget it exceeded is what it carries, and its message names it in seconds.- Since:
- 0.1 (2025-09-14)
- Author:
- Andrey Santrosyan
- See Also:
-
Field Summary
Fields inherited from class AbstractTerminalEvent
attempts, llmResponses, metadata, terminatedAt -
Constructor Summary
ConstructorsConstructorDescriptionJobTimedOut(JobSnapshot snapshot, Duration timeout, int attempts, List<LLMResponse<?>> llmResponses, Map<String, Object> metadata) -
Method Summary
Methods inherited from class AbstractTerminalEvent
getAttempts, getCompletionTime, getDuration, getLlmResponses, getMetadata, getResult, getStartTime, getTerminatedAtMethods inherited from class AbstractJobEvent
message, setMessage, snapshot, timestampMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TerminalEvent
getCause, getCompletionTime, getDuration, getErrorMessage, getErrorType, getLlmResponses, getMetadata, getStartTime
-
Constructor Details
-
JobTimedOut
public JobTimedOut(JobSnapshot snapshot, Duration timeout, int attempts, List<LLMResponse<?>> llmResponses, Map<String, Object> metadata)
-
-
Method Details
-
getTimeout
-
getError
Description copied from interface:FailureEventGets the error that caused the failure.- Specified by:
getErrorin interfaceFailureEvent- Returns:
- the error, may be null
-