Uses of Interface
org.terracotta.statistics.ValueStatistic
-
-
Uses of ValueStatistic in org.terracotta.statistics
Subinterfaces of ValueStatistic in org.terracotta.statistics Modifier and Type Interface Description interfaceSampledStatistic<T extends Serializable>Classes in org.terracotta.statistics that implement ValueStatistic Modifier and Type Class Description classConstantValueStatistic<T extends Serializable>classMemoizingValueStatistic<T extends Serializable>classSampledStatisticAdapter<T extends Serializable>classSuppliedValueStatistic<T extends Serializable>This class can be used to create aValueStatisticwith a specificStatisticTypewhich value is given by a providedSupplierclassTableValueStatisticA statistic that can dynamically construct and provide a table statistic based on provided suppliersMethods in org.terracotta.statistics that return ValueStatistic Modifier and Type Method Description ValueStatistic<Table>TableValueStatistic.Builder. build()static <T extends Number>
ValueStatistic<T>ValueStatistics. counter(Supplier<T> supplier)static <T extends Number>
ValueStatistic<T>ValueStatistics. gauge(Supplier<T> supplier)ValueStatistic<? extends Serializable>[]TableSkeleton. getStatistics(String row)static <T extends Serializable>
ValueStatistic<T>ValueStatistics. memoize(long delay, TimeUnit unit, ValueStatistic<T> valueStatistic)Returns aValueStatisticthat caches the value of a statistic for at least a specific amount of time.static <T extends Number>
ValueStatistic<T>ValueStatistics. rate(Supplier<T> supplier)static <T extends Number>
ValueStatistic<T>ValueStatistics. ratio(Supplier<T> supplier)ValueStatistic<Long>MappedOperationStatistic. statistic(D result)ValueStatistic<Long>MappedOperationStatistic. statistic(Set<D> results)default ValueStatistic<Long>OperationStatistic. statistic(Set<T> results)default ValueStatistic<Long>OperationStatistic. statistic(T result)Return aValueStatisticreturning the count for the given result.ValueStatistic<Long>StatisticMapper. statistic(Set<TARGET> results)ValueStatistic<Long>StatisticMapper. statistic(TARGET result)static <T extends Serializable>
ValueStatistic<T>ValueStatistics. supply(StatisticType type, Supplier<T> supplier)static <T extends Table>
ValueStatistic<T>ValueStatistics. table(Supplier<T> supplier)Methods in org.terracotta.statistics that return types with arguments of type ValueStatistic Modifier and Type Method Description <T extends Serializable>
Optional<ValueStatistic<T>>TableSkeleton. getStatistic(String row, String statisticName)Methods in org.terracotta.statistics with parameters of type ValueStatistic Modifier and Type Method Description static <T extends Serializable>
voidStatisticsManager. createPassThroughStatistic(Object context, String name, Set<String> tags, Map<String,? extends Object> properties, ValueStatistic<T> source)static <T extends Serializable>
voidStatisticsManager. createPassThroughStatistic(Object context, String name, Set<String> tags, ValueStatistic<T> source)protected <T extends Serializable>
voidTableSkeleton. insert(String rowName, String statisticName, ValueStatistic<T> accessor)static <T extends Serializable>
ValueStatistic<T>ValueStatistics. memoize(long delay, TimeUnit unit, ValueStatistic<T> valueStatistic)Returns aValueStatisticthat caches the value of a statistic for at least a specific amount of time.<T extends Serializable>
TableValueStatistic.BuilderTableValueStatistic.Builder. registerStatistic(String rowName, String statisticName, ValueStatistic<T> accessor)<T extends Serializable>
TableValueStatistic.RowBuilderTableValueStatistic.RowBuilder. registerStatistic(String statisticName, ValueStatistic<T> accessor)static <T extends Serializable>
SampledStatistic<T>SampledStatisticAdapter. sample(ValueStatistic<T> accessor, LongSupplier timeSource)Constructors in org.terracotta.statistics with parameters of type ValueStatistic Constructor Description MemoizingValueStatistic(long delay, TimeUnit unit, ValueStatistic<T> delegate) -
Uses of ValueStatistic in org.terracotta.statistics.archive
Constructors in org.terracotta.statistics.archive with parameters of type ValueStatistic Constructor Description StatisticSampler(long time, TimeUnit unit, ValueStatistic<T> statistic, Consumer<Sample<T>> sink, LongSupplier timeSupplier)StatisticSampler(ScheduledExecutorService executor, long time, TimeUnit unit, ValueStatistic<T> statistic, Consumer<Sample<T>> sink, LongSupplier timeSupplier) -
Uses of ValueStatistic in org.terracotta.statistics.derived
Classes in org.terracotta.statistics.derived that implement ValueStatistic Modifier and Type Class Description classEventRateSimpleMovingAverage -
Uses of ValueStatistic in org.terracotta.statistics.derived.latency
Classes in org.terracotta.statistics.derived.latency that implement ValueStatistic Modifier and Type Class Description classMaximumLatencyHistoryKeeps a history of the maximum operation latencies over a specific window.Methods in org.terracotta.statistics.derived.latency that return ValueStatistic Modifier and Type Method Description default ValueStatistic<Double>LatencyStatistic. averageStatistic()default ValueStatistic<Long>LatencyHistogramStatistic. maximumStatistic()default ValueStatistic<Long>LatencyStatistic. maximumStatistic()default ValueStatistic<Long>LatencyHistogramStatistic. medianStatistic()default ValueStatistic<Long>LatencyHistogramStatistic. minimumStatistic()default ValueStatistic<Long>LatencyStatistic. minimumStatistic()default ValueStatistic<Long>LatencyHistogramStatistic. percentileStatistic(double percent) -
Uses of ValueStatistic in org.terracotta.statistics.registry
Methods in org.terracotta.statistics.registry that return types with arguments of type ValueStatistic Modifier and Type Method Description protected Map<String,ValueStatistic<? extends Serializable>>StatisticRegistry. getStatistics()Methods in org.terracotta.statistics.registry with parameters of type ValueStatistic Modifier and Type Method Description <T extends Serializable>
voidStatisticRegistry. registerStatistic(String fullStatName, ValueStatistic<T> accessor)
-