Uses of Interface
com.pervasive.datarush.monitoring.StatisticSupplier
-
Packages that use StatisticSupplier Package Description com.pervasive.datarush.graphs Provides classes and interfaces for the construction of executable dataflow graphs.com.pervasive.datarush.monitoring Provides classes and interfaces for reporting on commonly monitored resources such as memory, threads, and I/O. -
-
Uses of StatisticSupplier in com.pervasive.datarush.graphs
Methods in com.pervasive.datarush.graphs with type parameters of type StatisticSupplier Modifier and Type Method Description <T extends StatisticSupplier>
LogicalStatistic.BuilderLogicalStatistic.Builder. define(StatisticDefinition<T> definition, T supplier)
Sets the values forLogicalStatistic.definition()
andLogicalStatistic.supplier()
based on those specified.static <T extends StatisticSupplier>
List<T>LogicalStatistics. filterSuppliers(List<LogicalStatistic> stats, StatisticDefinition<T> definition)
Utility method to select all statistics suppliers that match the given definition.<T extends StatisticSupplier>
voidStatisticsRegistry. register(StatisticDefinition<T> definition, T supplier)
Registers the given statistics object.Methods in com.pervasive.datarush.graphs that return StatisticSupplier Modifier and Type Method Description StatisticSupplier
LogicalStatistic.Builder. supplier()
Returns the value forLogicalStatistic.supplier()
.StatisticSupplier
LogicalStatistic. supplier()
Returns the supplier associated with this statistic. -
Uses of StatisticSupplier in com.pervasive.datarush.monitoring
Classes in com.pervasive.datarush.monitoring with type parameters of type StatisticSupplier Modifier and Type Class Description class
RuntimeStatistic<T extends StatisticSupplier>
Pairing of aStatisticDefinition
and itsStatisticSupplier
.class
StatisticDefinition<T extends StatisticSupplier>
Provides metadata for a statistic including including display name controls how the statistic is to be aggregated across partitions.Subinterfaces of StatisticSupplier in com.pervasive.datarush.monitoring Modifier and Type Interface Description interface
AccumulatedTimerSupplier
Abstract statistic that represents "wall-clock" time of some runtime activity.interface
CounterSupplier
Abstract statistic that represents a count of some runtime activity.interface
GaugeSupplier
Abstract statistic that represents a measure of some runtime activity whose value may fluctuate over time.interface
IntervalTimerSupplier
Abstract statistic that represents "wall-clock" time of some runtime activity.Classes in com.pervasive.datarush.monitoring that implement StatisticSupplier Modifier and Type Class Description class
AbstractIntervalTimerSupplier
Convenient base class that should be extended by all implementations ofIntervalTimerSupplier
class
AccumulatedTimer
Basic mutable implementation ofAccumulatedTimerSupplier
.class
AccumulatedTimerSnapshot
A snapshot that reflects a point-in-time of aIntervalTimerSupplier
.class
BasicCounter
Basic mutable implementation ofCounterSupplier
.class
CounterSnapshot
A snapshot that reflects a point-in-time of aCounterSupplier
.class
GaugeSnapshot
A snapshot that reflects a point-in-time of aGaugeSupplier
.class
IntervalTimer
Basic mutable implementation ofAccumulatedTimerSupplier
.class
IntervalTimerSnapshot
A snapshot that reflects a point-in-time of aIntervalTimerSupplier
.Methods in com.pervasive.datarush.monitoring with type parameters of type StatisticSupplier Modifier and Type Method Description <T extends StatisticSupplier>
TStatisticsMap. get(StatisticDefinition<T> definition)
Returns the value corresponding to the given definition<T extends StatisticSupplier>
voidStatisticsMap. put(RuntimeStatistic<T> statistic)
Type-safe put that adds a pair of statistic and definitionMethods in com.pervasive.datarush.monitoring that return StatisticSupplier Modifier and Type Method Description static StatisticSupplier
StatisticSuppliers. combine(StatisticDefinition<?> definition, List<? extends StatisticSupplier> suppliers)
Creates a statistics supplier that combines the given set of suppliers.StatisticSupplier
StatisticSupplier. snapshot()
Returns a snapshot of this statistic.Methods in com.pervasive.datarush.monitoring with parameters of type StatisticSupplier Modifier and Type Method Description AccumulatedTimerSupplier
AccumulatedTimerDefinition. cast(StatisticSupplier value)
CounterSupplier
CounterDefinition. cast(StatisticSupplier value)
GaugeSupplier
GaugeDefinition. cast(StatisticSupplier value)
IntervalTimerSupplier
IntervalTimerDefinition. cast(StatisticSupplier value)
abstract T
StatisticDefinition. cast(StatisticSupplier value)
Casts theStatisticSupplier
to this definition, substituting a default value for null.CounterSupplier
CounterDefinition. doFinalSnapshot(StatisticSupplier supplier)
GaugeSupplier
GaugeDefinition. doFinalSnapshot(StatisticSupplier supplier)
T
StatisticDefinition. finalSnapshot(StatisticSupplier supplier)
Returns a snapshot view of the given statistics with all statistics appropriate for a graph that is in a terminated state.void
StatisticsMap. put(StatisticDefinition<?> definition, StatisticSupplier supplier)
Adds a value to the map.Method parameters in com.pervasive.datarush.monitoring with type arguments of type StatisticSupplier Modifier and Type Method Description AccumulatedTimerSupplier
AccumulatedTimerDefinition. aggregate(List<? extends StatisticSupplier> values)
Performs timer aggregation per the aggregation rules specified onIntervalTimerSupplier
.CounterSupplier
CounterDefinition. aggregate(List<? extends StatisticSupplier> values)
GaugeSupplier
GaugeDefinition. aggregate(List<? extends StatisticSupplier> values)
IntervalTimerSupplier
IntervalTimerDefinition. aggregate(List<? extends StatisticSupplier> values)
Performs timer aggregation per the aggregation rules specified onIntervalTimerSupplier
.abstract T
StatisticDefinition. aggregate(List<? extends StatisticSupplier> values)
Performs aggregation across statistics.static StatisticSupplier
StatisticSuppliers. combine(StatisticDefinition<?> definition, List<? extends StatisticSupplier> suppliers)
Creates a statistics supplier that combines the given set of suppliers.
-