public interface StatisticSupplier
StatisticSupplier
may be
live, in which case their returned values reflect the current
state. In the case where they are live, repeated calls to
the various methods may change from one call to the next.
A StatisticSupplier
may also be a snapshot, in which case
they represent a point-in-time of some measured value. In the case of
a snapshot, repeated calls to the same method should always produce the
same value. In addition, snapshots are expected to be serializable.Modifier and Type | Method and Description |
---|---|
StatisticState |
getState()
Returns the current state of the supplier.
|
StatisticSupplier |
snapshot()
Returns a snapshot of this statistic.
|
StatisticSupplier snapshot()
StatisticState getState()
Copyright © 2024 Actian Corporation. All rights reserved.