Class TaskExecutionObservationContext
java.lang.Object
io.micrometer.observation.Observation.Context
org.springframework.cloud.task.listener.TaskExecutionObservationContext
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
public class TaskExecutionObservationContext
extends io.micrometer.observation.Observation.Context
A mutable holder of the
TaskExecution
required by a ObservationHandler
.- Since:
- 3.0.0
- Author:
- Glenn Renfro
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.micrometer.observation.Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValues, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, setContextualName, setError, setName, setParentObservation, toString
-
Constructor Details
-
TaskExecutionObservationContext
-
-
Method Details
-
getTaskExecution
-
getExceptionMessage
-
setExceptionMessage
-
getStatus
-
setStatus
-