Package brave.propagation
Class SamplingFlags.Builder
java.lang.Object
brave.propagation.SamplingFlags.Builder
- Enclosing class:
- SamplingFlags
@Deprecated public static final class SamplingFlags.Builder extends Object
Deprecated.
prefer using constants. This will be removed in Brave v6
-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated. -
Method Summary
Modifier and Type Method Description SamplingFlags
build()
Deprecated.static SamplingFlags
build(Boolean sampled)
Deprecated.Allows you to create flags from a boolean value without allocating a builder instanceSamplingFlags.Builder
debug(boolean debug)
Deprecated.Setting debug to true also sets sampled to true.SamplingFlags.Builder
sampled(Boolean sampled)
Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
sampled
Deprecated.- See Also:
SamplingFlags.sampled()
-
debug
Deprecated.Setting debug to true also sets sampled to true.- See Also:
SamplingFlags.debug()
-
build
Deprecated.Allows you to create flags from a boolean value without allocating a builder instance -
build
Deprecated.
-