| Package | Description |
|---|---|
| org.terracotta.statistics | |
| org.terracotta.statistics.archive | |
| org.terracotta.statistics.derived | |
| org.terracotta.statistics.registry |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SampledStatistic<T extends Serializable> |
| Modifier and Type | Class and Description |
|---|---|
class |
ConstantValueStatistic<T extends Serializable> |
class |
SampledStatisticAdapter<T extends Serializable> |
class |
SuppliedValueStatistic<T extends Serializable>
This class can be used to create a
ValueStatistic with a specific StatisticType
which value is given by a provided Supplier |
class |
TableValueStatistic
A statistic that can dynamically construct and provide a table statistic based on provided suppliers
|
| Modifier and Type | Method and Description |
|---|---|
ValueStatistic<Table> |
TableValueStatistic.Builder.build() |
static <T extends Number> |
SuppliedValueStatistic.counter(Supplier<T> supplier) |
static <T extends Number> |
SuppliedValueStatistic.gauge(Supplier<T> supplier) |
ValueStatistic<? extends Serializable>[] |
TableSkeleton.getStatistics(String row) |
static <T extends Number> |
SuppliedValueStatistic.rate(Supplier<T> supplier) |
static <T extends Number> |
SuppliedValueStatistic.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) |
ValueStatistic<Long> |
StatisticMapper.statistic(Set<TARGET> results) |
default ValueStatistic<Long> |
OperationStatistic.statistic(T result)
Return a
ValueStatistic returning the count for the given result. |
ValueStatistic<Long> |
StatisticMapper.statistic(TARGET result) |
static <T extends Serializable> |
SuppliedValueStatistic.supply(StatisticType type,
Supplier<T> supplier) |
static <T extends Table> |
SuppliedValueStatistic.table(Supplier<T> supplier) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
TableSkeleton.getStatistic(String row,
String statisticName) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Serializable> |
StatisticsManager.createPassThroughStatistic(Object context,
String name,
Set<String> tags,
Map<String,? extends Object> properties,
ValueStatistic<T> source) |
static <T extends Serializable> |
StatisticsManager.createPassThroughStatistic(Object context,
String name,
Set<String> tags,
ValueStatistic<T> source) |
protected <T extends Serializable> |
TableSkeleton.insert(String rowName,
String statisticName,
ValueStatistic<T> accessor) |
<T extends Serializable> |
TableValueStatistic.Builder.registerStatistic(String rowName,
String statisticName,
ValueStatistic<T> accessor) |
<T extends Serializable> |
TableValueStatistic.RowBuilder.registerStatistic(String statisticName,
ValueStatistic<T> accessor) |
static <T extends Serializable> |
SampledStatisticAdapter.sample(ValueStatistic<T> accessor) |
static <T extends Serializable> |
SampledStatisticAdapter.sample(ValueStatistic<T> accessor,
Supplier<Long> timeSource) |
| Constructor and Description |
|---|
StatisticSampler(long time,
TimeUnit unit,
ValueStatistic<T> statistic,
SampleSink<Sample<T>> sink) |
StatisticSampler(ScheduledExecutorService executor,
long time,
TimeUnit unit,
ValueStatistic<T> statistic,
SampleSink<Sample<T>> sink) |
| Modifier and Type | Class and Description |
|---|---|
class |
EventParameterSimpleMovingAverage |
class |
EventRateSimpleMovingAverage |
| Modifier and Type | Method and Description |
|---|---|
ValueStatistic<Double> |
EventParameterSimpleMovingAverage.averageStatistic() |
ValueStatistic<Long> |
EventParameterSimpleMovingAverage.maximumStatistic() |
ValueStatistic<Long> |
MinMaxAverage.maxStatistic() |
ValueStatistic<Double> |
MinMaxAverage.meanStatistic() |
ValueStatistic<Long> |
EventParameterSimpleMovingAverage.minimumStatistic() |
ValueStatistic<Long> |
MinMaxAverage.minStatistic() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
StatisticRegistry.registerStatistic(String fullStatName,
ValueStatistic<T> accessor) |
Copyright © 2018. All rights reserved.