Package org.terracotta.statistics
Class PassThroughStatistic<T extends Serializable>
java.lang.Object
org.terracotta.statistics.PassThroughStatistic<T>
- All Implemented Interfaces:
ValueStatistic<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WeakIdentityHashMap<Object,Collection<PassThroughStatistic<? extends Serializable>>> final Stringprivate final ValueStatistic<T>final StatisticType -
Constructor Summary
ConstructorsConstructorDescriptionPassThroughStatistic(Object context, String name, Set<String> tags, Map<String, ? extends Object> properties, ValueStatistic<T> source) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbindStatistic(PassThroughStatistic<? extends Serializable> stat, Object to) (package private) static booleanstatic voidtype()value()
-
Field Details
-
BINDING
private static final WeakIdentityHashMap<Object,Collection<PassThroughStatistic<? extends Serializable>>> BINDING -
name
-
tags
-
properties
-
type
-
source
-
-
Constructor Details
-
PassThroughStatistic
-
-
Method Details
-
bindStatistic
-
removeStatistics
-
hasStatisticsFor
-
value
- Specified by:
valuein interfaceValueStatistic<T extends Serializable>- Returns:
- The current statistic value
-
type
- Specified by:
typein interfaceValueStatistic<T extends Serializable>- Returns:
- The statistic type
-