public class ProbabilitySampler extends Sampler
double value for SAMPLER_FRACTION_CONF_KEY.Sampler.Builder| Modifier and Type | Field and Description |
|---|---|
static String |
SAMPLER_FRACTION_CONF_KEY |
double |
threshold |
| Constructor and Description |
|---|
ProbabilitySampler(HTraceConfiguration conf) |
public final double threshold
public static final String SAMPLER_FRACTION_CONF_KEY
public ProbabilitySampler(HTraceConfiguration conf)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.