Class QueryContext

java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.SenderContext<Object>
io.r2dbc.proxy.observation.QueryContext
All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView

public class QueryContext extends io.micrometer.observation.transport.SenderContext<Object>
Observation.Context for r2dbc query.
Since:
1.1.0
Author:
Tadaya Tsuyukubo
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    void
    setConnectionName(String connectionName)
     
    void
     
    void
     
    void
    setThreadName(String threadName)
     

    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
  • Constructor Details

    • QueryContext

      public QueryContext()
  • Method Details

    • getConnectionName

      public String getConnectionName()
    • setConnectionName

      public void setConnectionName(String connectionName)
    • getThreadName

      public String getThreadName()
    • setThreadName

      public void setThreadName(String threadName)
    • getQueries

      public List<String> getQueries()
    • setQueries

      public void setQueries(List<String> queries)
    • getParams

      public List<String> getParams()
    • setParams

      public void setParams(List<String> params)