Package io.deephaven.base.stats
Class Item<V extends Value>
java.lang.Object
io.deephaven.base.stats.Item<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringCreating this for intraday so we don't have to allocate or change the existing schemaprotected final StringThe item's descriptionprotected final GroupThe group to which the item belongsprotected final StringThe item's nameprotected final VThe value associated with this item -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getName()getValue()voidupdate(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
-