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