| Package | Description |
|---|---|
| org.apache.htrace | |
| org.apache.htrace.impl | |
| org.apache.htrace.wrappers |
| Modifier and Type | Field and Description |
|---|---|
static Sampler<?> |
Sampler.ALWAYS |
static Sampler<?> |
Sampler.NEVER |
| Modifier and Type | Method and Description |
|---|---|
Sampler |
SamplerBuilder.build() |
| 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
A Sampler that always returns true.
|
class |
CountSampler
Sampler that returns true every N calls.
|
class |
NeverSampler
A Sampler that never returns true.
|
class |
ProbabilitySampler
Sampler that returns true a certain percentage of the time.
|
class |
TrueIfTracingSampler
A Sampler that returns true if and only if tracing is enabled for 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 © 2015 The Apache Software Foundation. All Rights Reserved.