SetTraceProbability (apache-cassandra API)
Date: 2018-02-12

org.apache.cassandra.tools.nodetool

## Class SetTraceProbability

- java.lang.Object
- - org.apache.cassandra.tools.NodeTool.NodeToolCmd
  - - org.apache.cassandra.tools.nodetool.SetTraceProbability

- All Implemented Interfaces:
    java.lang.Runnable

      @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")
      public class SetTraceProbability
      extends NodeTool.NodeToolCmd

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SetTraceProbability()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(NodeProbe probe)`

    - ### Methods inherited from class org.apache.cassandra.tools.NodeTool.NodeToolCmd

      `parseOptionalColumnFamilies, parseOptionalKeyspace, parseOptionalKeyspace, run`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SetTraceProbability

          public SetTraceProbability()

  - ### Method Detail

    - #### execute

          public void execute(NodeProbe probe)

      Specified by:
        `execute` in class `NodeTool.NodeToolCmd`

Copyright © 2018 The Apache Software Foundation