Class Composite

java.lang.Object
io.deephaven.base.stats.Value
io.deephaven.base.stats.Composite

public class Composite extends Value
A statistic that represents the composite or rolled-up value of a set of child statistics, as best as possible. This statistic cannot be sample(long)d or Value.increment(long)ed. Currently, calls to update(io.deephaven.base.stats.Item, io.deephaven.base.stats.ItemUpdateListener, long, long, long) are silently ignored, which also means that Composites are not logged. Thus a Composite is currently only useful for summaries in web/JMX displays.
  • Constructor Details

    • Composite

      public Composite(long now, Value... values)
  • Method Details

    • sample

      public void sample(long x)
      Overrides:
      sample in class Value
    • getTypeTag

      public char getTypeTag()
      Specified by:
      getTypeTag in class Value
    • getN

      public long getN()
      Overrides:
      getN in class Value
    • getLast

      public long getLast()
      Overrides:
      getLast in class Value
    • getSum

      public long getSum()
      Overrides:
      getSum in class Value
    • getSum2

      public long getSum2()
      Overrides:
      getSum2 in class Value
    • getMax

      public long getMax()
      Overrides:
      getMax in class Value
    • getMin

      public long getMin()
      Overrides:
      getMin in class Value
    • getHistory

      public History getHistory()
      Overrides:
      getHistory in class Value
    • update

      public void update(Item item, ItemUpdateListener listener, long logInterval, long now, long appNow)
      Overrides:
      update in class Value