Package | Description |
---|---|
org.cloudera.htrace | |
org.cloudera.htrace.impl | |
org.cloudera.htrace.wrappers |
Modifier and Type | Field and Description |
---|---|
static Sampler<?> |
Sampler.ALWAYS |
static Sampler<?> |
Sampler.NEVER |
Modifier and Type | Method and Description |
---|---|
static <T> TraceScope |
Trace.startSpan(String description,
Sampler<T> s) |
static <T> TraceScope |
Trace.startSpan(String description,
Sampler<T> s,
T info) |
static TraceScope |
Trace.startSpan(String description,
Sampler<TraceInfo> s,
TraceInfo tinfo) |
Modifier and Type | Class and Description |
---|---|
class |
AlwaysSampler |
class |
CountSampler
Sampler that returns true every N calls.
|
class |
NeverSampler |
class |
ProbabilitySampler |
class |
TrueIfTracingSampler
A Sampler that returns true if and only if tracing is on the current thread.
|
Modifier and Type | Method and Description |
---|---|
static <T,V> T |
TraceProxy.trace(T instance,
Sampler<V> sampler)
Returns an object that will trace all calls to itself.
|
Copyright © 2014. All rights reserved.