public interface BinaryExtract
BinaryExtract
is an interface defining the required operations for a binary carrier for
Tracer.extract(io.opentracing.propagation.Format<C>, C)
only. BinaryExtract
is defined as inbound (extraction).
When called with Tracer.extract(io.opentracing.propagation.Format<C>, C)
, extractionBuffer()
will be called to retrieve the ByteBuffer
containing the data used for SpanContext
extraction.Modifier and Type | Method and Description |
---|---|
ByteBuffer |
extractionBuffer()
Gets the buffer containing the data used for
SpanContext extraction. |
ByteBuffer extractionBuffer()
SpanContext
extraction.
It is an error to call this method when Binary is used
for SpanContext
injection.SpanContext
extraction.Copyright © 2016–2019 OpenTracing. All rights reserved.