Class Item<V extends Value>

java.lang.Object
io.deephaven.base.stats.Item<V>

public class Item<V extends Value> extends Object
  • Field Details

    • name

      protected final String name
      The item's name
    • description

      protected final String description
      The item's description
    • group

      protected final Group group
      The group to which the item belongs
    • value

      protected final V extends Value value
      The value associated with this item
    • compactName

      protected final String compactName
      Creating this for intraday so we don't have to allocate or change the existing schema
  • Method Details

    • getName

      public String getName()
      Returns:
      the item's name, which is unique within its group
    • getDescription

      public String getDescription()
      Returns:
      the item's description
    • getGroup

      public Group getGroup()
      Returns:
      the item's group
    • getGroupName

      public String getGroupName()
      Returns:
      the name of the item's group (convenience method)
    • getValue

      public V getValue()
      Returns:
      the value associated with this item.
    • getCompactName

      public String getCompactName()
    • update

      public void update(ItemUpdateListener listener, long logInterval, long now, long appNow)
      Update the history intervals for this item's value, logging updated intervals >= logInterval