public interface Tracer
| Modifier and Type | Method and Description |
|---|---|
static Tracer |
create(com.google.common.collect.ImmutableList<String> traces,
com.google.common.collect.ImmutableMap<String,Generator> customs,
com.google.common.collect.ImmutableList<TraceListener> listeners) |
static Tracer |
create(String... traces) |
default <V> Callable<V> |
delegate(Callable<V> task,
java.util.function.Function<String,String> provider) |
default Runnable |
delegate(Runnable task,
java.util.function.Function<String,String> provider) |
void |
forEach(java.util.function.BiConsumer<String,String> consumer) |
Trace |
get(String trace) |
default <V> Callable<V> |
manage(Callable<V> task) |
default Runnable |
manage(Runnable task) |
default <V> Callable<V> |
preserve(Callable<V> task) |
default Runnable |
preserve(Runnable task) |
default com.google.common.collect.ImmutableMap<String,String> |
snapshot() |
default void |
start() |
void |
start(java.util.function.Function<String,String> provider) |
void |
stop() |
default void start()
IllegalStateExceptionvoid start(java.util.function.Function<String,String> provider)
IllegalStateExceptionTrace get(String trace)
IllegalStateExceptionvoid forEach(java.util.function.BiConsumer<String,String> consumer)
IllegalStateExceptiondefault com.google.common.collect.ImmutableMap<String,String> snapshot()
IllegalStateExceptionvoid stop()
IllegalStateExceptiondefault Runnable preserve(Runnable task)
IllegalStateExceptiondefault Runnable delegate(Runnable task, java.util.function.Function<String,String> provider)
default <V> Callable<V> preserve(Callable<V> task)
IllegalStateExceptiondefault <V> Callable<V> delegate(Callable<V> task, java.util.function.Function<String,String> provider)
static Tracer create(com.google.common.collect.ImmutableList<String> traces, com.google.common.collect.ImmutableMap<String,Generator> customs, com.google.common.collect.ImmutableList<TraceListener> listeners)
Copyright © 2015–2016 Zalando SE. All rights reserved.