public class TracedCommand<K,V,T> extends CommandWrapper<K,V,T> implements TraceContextProvider
TraceContext.command| Constructor and Description |
|---|
TracedCommand(RedisCommand<K,V,T> command,
TraceContext traceContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.buffer.ByteBuf buf)
Encode the command.
|
Tracer.Span |
getSpan() |
TraceContext |
getTraceContext()
Returns the
TraceContext in a blocking fashion. |
void |
setSpan(Tracer.Span span) |
cancel, complete, completeExceptionally, doOnComplete, doOnError, equals, getArgs, getDelegate, getOutput, getType, hashCode, isCancelled, isDone, onComplete, onComplete, setOutput, toString, unwrap, unwrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTraceContextAsync, getTraceContextLaterpublic TracedCommand(RedisCommand<K,V,T> command, TraceContext traceContext)
public TraceContext getTraceContext()
TraceContextProviderTraceContext in a blocking fashion.
Return value can be null depending on the implementation, and application context it is called from.
getTraceContext in interface TraceContextProviderTraceContext.public Tracer.Span getSpan()
public void setSpan(Tracer.Span span)
public void encode(io.netty.buffer.ByteBuf buf)
RedisCommandencode in interface RedisCommand<K,V,T>encode in class CommandWrapper<K,V,T>buf - byte buffer to operate on.Copyright © 2026 lettuce.io. All rights reserved.