Class LettuceObservationContext

java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.SenderContext<Object>
org.springframework.data.redis.connection.lettuce.observability.LettuceObservationContext
All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView

@Deprecated(since="3.4", forRemoval=true) public class LettuceObservationContext extends io.micrometer.observation.transport.SenderContext<Object>
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4 for removal with the next major revision. Use Lettuce's Micrometer integration through MicrometerTracing.
Micrometer Observation.Context holding Lettuce contextual details.
Since:
3.0
Author:
Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.lettuce.core.protocol.RedisCommand<?,?,?>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    io.lettuce.core.tracing.Tracing.Endpoint
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCommand(io.lettuce.core.protocol.RedisCommand<?,?,?> command)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setEndpoint(io.lettuce.core.tracing.Tracing.Endpoint endpoint)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class io.micrometer.observation.transport.SenderContext

    getCarrier, getKind, getRemoteServiceAddress, getRemoteServiceName, getSetter, setCarrier, setRemoteServiceAddress, setRemoteServiceName

    Methods inherited from class io.micrometer.observation.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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.micrometer.observation.Observation.ContextView

    getOrDefault
  • Constructor Details

    • LettuceObservationContext

      public LettuceObservationContext(String serviceName)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getRequiredCommand

      public io.lettuce.core.protocol.RedisCommand<?,?,?> getRequiredCommand()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setCommand

      public void setCommand(io.lettuce.core.protocol.RedisCommand<?,?,?> command)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRequiredEndpoint

      public io.lettuce.core.tracing.Tracing.Endpoint getRequiredEndpoint()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setEndpoint

      public void setEndpoint(io.lettuce.core.tracing.Tracing.Endpoint endpoint)
      Deprecated, for removal: This API element is subject to removal in a future version.