Package org.zalando.opentracing.flowid
Interface Flow
-
public interface Flow
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFlow.Baggagestatic interfaceFlow.Headerstatic interfaceFlow.Loggingstatic interfaceFlow.Tag
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Flowcreate(io.opentracing.Tracer tracer)static Flowcreate(io.opentracing.Tracer tracer, FlowListener... listeners)StringcurrentId()voidreadFrom(UnaryOperator<String> reader)<T> Twrite(BiFunction<String,String,T> writer)voidwriteTo(BiConsumer<String,String> writer)
-
-
-
Method Detail
-
readFrom
void readFrom(UnaryOperator<String> reader)
-
currentId
String currentId() throws IllegalStateException
- Throws:
IllegalStateException
-
writeTo
void writeTo(BiConsumer<String,String> writer)
-
write
<T> T write(BiFunction<String,String,T> writer)
-
create
static Flow create(io.opentracing.Tracer tracer)
-
create
static Flow create(io.opentracing.Tracer tracer, FlowListener... listeners)
-
-