public class org.apache.cassandra.tools.nodetool.SetTraceProbability extends org.apache.cassandra.tools.NodeTool$NodeToolCmd
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.tools.nodetool.SetTraceProbability
super_class: org.apache.cassandra.tools.NodeTool$NodeToolCmd
{
private java.lang.Double traceProbability;
descriptor: Ljava/lang/Double;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
io.airlift.command.Arguments(title = "trace_probability", usage = "<value>", description = "Trace probability between 0 and 1 (ex: 0.2)", required = true)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.cassandra.tools.NodeTool$NodeToolCmd.<init>:()V
1: aload 0
aconst_null
putfield org.apache.cassandra.tools.nodetool.SetTraceProbability.traceProbability:Ljava/lang/Double;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/tools/nodetool/SetTraceProbability;
public void execute(org.apache.cassandra.tools.NodeProbe);
descriptor: (Lorg/apache/cassandra/tools/NodeProbe;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.tools.nodetool.SetTraceProbability.traceProbability:Ljava/lang/Double;
invokevirtual java.lang.Double.doubleValue:()D
dconst_0
dcmpl
iflt 1
aload 0
getfield org.apache.cassandra.tools.nodetool.SetTraceProbability.traceProbability:Ljava/lang/Double;
invokevirtual java.lang.Double.doubleValue:()D
dconst_1
dcmpg
ifgt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Trace probability must be between 0 and 1"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
3: aload 1
aload 0
getfield org.apache.cassandra.tools.nodetool.SetTraceProbability.traceProbability:Ljava/lang/Double;
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual org.apache.cassandra.tools.NodeProbe.setTraceProbability:(D)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/tools/nodetool/SetTraceProbability;
0 5 1 probe Lorg/apache/cassandra/tools/NodeProbe;
MethodParameters:
Name Flags
probe
}
SourceFile: "SetTraceProbability.java"
InnerClasses:
public abstract NodeToolCmd = org.apache.cassandra.tools.NodeTool$NodeToolCmd of org.apache.cassandra.tools.NodeTool
RuntimeVisibleAnnotations:
io.airlift.command.Command(name = "settraceprobability", description = "Sets the probability for tracing any given request to value. 0 disables, 1 enables for all requests, 0 is the default")