Class NozzleMetricsAction
java.lang.Object
com.tccc.kos.ext.dispense.service.nozzle.metrics.NozzleMetricsAction
- Direct Known Subclasses:
NozzleMetricsTotalVolumeAction
Base class for actions. When an action is added to a
NozzleMetric
,
the action will be called every time the volume poured by the nozzle changes.
This allows the action to perform actions based on data in the associated
metric. This is a common mechanism for limiting pours to specific volumes
or performing an action when a particular amount of a specific ingredient
is poured.
Actions are called from the pour thread and should run as fast as possible.
- Version:
- 2024-01-29
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NozzleMetricsAction
public NozzleMetricsAction()
-