Class Sampler.Sample<S>

java.lang.Object
org.apache.cassandra.metrics.Sampler.Sample<S>
All Implemented Interfaces:
Serializable
Enclosing class:
Sampler<T>

public static class Sampler.Sample<S> extends Object implements Serializable
Represents the ranked items collected during a sample period
See Also:
  • Field Details

    • value

      public final S value
    • count

      public final long count
    • error

      public final long error
  • Constructor Details

    • Sample

      public Sample(S value, long count, long error)
  • Method Details