Class SlotReleaseReason.Error
java.lang.Object
io.temporal.worker.tuning.SlotReleaseReason
io.temporal.worker.tuning.SlotReleaseReason.Error
- Enclosing class:
SlotReleaseReason
The slot was released because some error was encountered before the slot could be used to
actually process the task.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.temporal.worker.tuning.SlotReleaseReason
SlotReleaseReason.Error, SlotReleaseReason.NeverUsed, SlotReleaseReason.TaskComplete, SlotReleaseReason.WillRetry -
Method Summary
Methods inherited from class io.temporal.worker.tuning.SlotReleaseReason
error, neverUsed, taskComplete, willRetry
-
Method Details
-
isError
public boolean isError()- Overrides:
isErrorin classSlotReleaseReason
-
getException
- Overrides:
getExceptionin classSlotReleaseReason- Returns:
- the exception that caused the slot to be released, if this is a reason of type
SlotReleaseReason.Error.
-