org.apache.accumulo.trace.instrument
public class Trace extends Object
Constructor and Description |
---|
Trace() |
Modifier and Type | Method and Description |
---|---|
static Span |
currentTrace() |
static void |
endThread(Span span) |
static boolean |
isTracing() |
static void |
off() |
static void |
offNoFlush() |
static Span |
on(String description) |
static Span |
start(String description) |
static Span |
startThread(Span parent,
String description) |
static Span |
trace(TInfo info,
String description) |
static Runnable |
wrap(Runnable runnable) |
static <T> T |
wrapAll(T instance) |
static <T> T |
wrapAll(T instance,
Sampler dist) |
public static void off()
public static void offNoFlush()
public static boolean isTracing()
public static Span currentTrace()
public static void endThread(Span span)
public static <T> T wrapAll(T instance)
public static <T> T wrapAll(T instance, Sampler dist)
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.