Package io.gravitee.node.tracing.vertx
Class LazyVertxTracer
- java.lang.Object
-
- io.gravitee.node.tracing.vertx.LazyVertxTracer
-
- All Implemented Interfaces:
TracingService.TracerListener,io.vertx.core.spi.tracing.VertxTracer<Object,Object>
public class LazyVertxTracer extends Object implements io.vertx.core.spi.tracing.VertxTracer<Object,Object>, TracingService.TracerListener
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Constructor Summary
Constructors Constructor Description LazyVertxTracer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonRegister(io.gravitee.node.api.tracing.Tracer tracer)<R> ObjectreceiveRequest(io.vertx.core.Context context, io.vertx.core.spi.tracing.SpanKind kind, io.vertx.core.tracing.TracingPolicy policy, R request, String operation, Iterable<Map.Entry<String,String>> headers, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)<R> voidreceiveResponse(io.vertx.core.Context context, R response, Object payload, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)<R> ObjectsendRequest(io.vertx.core.Context context, io.vertx.core.spi.tracing.SpanKind kind, io.vertx.core.tracing.TracingPolicy policy, R request, String operation, java.util.function.BiConsumer<String,String> headers, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)<R> voidsendResponse(io.vertx.core.Context context, R response, Object payload, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
-
-
Method Detail
-
receiveRequest
public <R> Object receiveRequest(io.vertx.core.Context context, io.vertx.core.spi.tracing.SpanKind kind, io.vertx.core.tracing.TracingPolicy policy, R request, String operation, Iterable<Map.Entry<String,String>> headers, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
sendResponse
public <R> void sendResponse(io.vertx.core.Context context, R response, Object payload, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
sendRequest
public <R> Object sendRequest(io.vertx.core.Context context, io.vertx.core.spi.tracing.SpanKind kind, io.vertx.core.tracing.TracingPolicy policy, R request, String operation, java.util.function.BiConsumer<String,String> headers, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
receiveResponse
public <R> void receiveResponse(io.vertx.core.Context context, R response, Object payload, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
close
public void close()
-
onRegister
public void onRegister(io.gravitee.node.api.tracing.Tracer tracer)
- Specified by:
onRegisterin interfaceTracingService.TracerListener
-
-