Class NullObservation.NullContext
java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.NullObservation.NullContext
- All Implemented Interfaces:
Observation.ContextView
- Enclosing class:
NullObservation
A special
Observation.Context that should be used only in
NullObservation in special cases where clearing of scopes is important. Its
only purpose is to make scenarios through NullObservation distinguishable
from "normal" Observations.- Since:
- 1.14.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Observation.ContextView
getOrDefault
-
Constructor Details
-
NullContext
public NullContext()
-