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(ByteBuf buf)
Encode the command.
|
Tracer.Span |
getSpan() |
TraceContext |
getTraceContext() |
void |
setSpan(Tracer.Span span) |
cancel, complete, completeExceptionally, equals, getArgs, getDelegate, getOutput, getType, hashCode, isCancelled, isDone, onComplete, onComplete, setOutput, toString, unwrap, unwrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTraceContextLaterpublic TracedCommand(RedisCommand<K,V,T> command, TraceContext traceContext)
public TraceContext getTraceContext()
getTraceContext in interface TraceContextProviderTraceContext.public Tracer.Span getSpan()
public void setSpan(Tracer.Span span)
public void encode(ByteBuf buf)
RedisCommandencode in interface RedisCommand<K,V,T>encode in class CommandWrapper<K,V,T>buf - byte buffer to operate on.Copyright © 2020 lettuce.io. All rights reserved.