public class SamplerBuilder extends Object
Sampler builder. It reads a Sampler class name from the provided
configuration using the SAMPLER_CONF_KEY key. Unqualified class names
are interpreted as members of the org.apache.htrace.impl package. The build()
method constructs an instance of that class, initialized with the same configuration.| Modifier and Type | Field and Description |
|---|---|
static String |
SAMPLER_CONF_KEY |
| Constructor and Description |
|---|
SamplerBuilder(HTraceConfiguration conf) |
public static final String SAMPLER_CONF_KEY
public SamplerBuilder(HTraceConfiguration conf)
public Sampler build()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.