Package io.deephaven.base.stats
Class Item<V extends Value>
java.lang.Object
io.deephaven.base.stats.Item<V>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
Creating this for intraday so we don't have to allocate or change the existing schemaprotected final String
The item's descriptionprotected final Group
The group to which the item belongsprotected final String
The item's nameprotected final V
The value associated with this item -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
getName()
getValue()
void
update
(ItemUpdateListener listener, long logInterval, long now, long appNow) Update the history intervals for this item's value, logging updated intervals >= logInterval
-
Field Details
-
name
The item's name -
description
The item's description -
group
The group to which the item belongs -
value
The value associated with this item -
compactName
Creating this for intraday so we don't have to allocate or change the existing schema
-
-
Method Details
-
getName
- Returns:
- the item's name, which is unique within its group
-
getDescription
- Returns:
- the item's description
-
getGroup
- Returns:
- the item's group
-
getGroupName
- Returns:
- the name of the item's group (convenience method)
-
getValue
- Returns:
- the value associated with this item.
-
getCompactName
-
update
Update the history intervals for this item's value, logging updated intervals >= logInterval
-