Top Fields Constructors Methods
org.terracotta.statistics

pack-priv Class PassThroughStatistic<T extends java.lang.Number>

extends Object
implements ValueStatistic<T extends Number>
Class Inheritance
All Implemented Interfaces
org.terracotta.statistics.ValueStatistic
Annotations
@ContextAttribute:this
Imports
java.util.Collection, .Collections, .HashMap, .HashSet, .Map, .Set, java.util.concurrent.Callable, .CopyOnWriteArrayList, org.terracotta.context.WeakIdentityHashMap, org.terracotta.context.annotations.ContextAttribute

Field Summary

Modifier and TypeField and Description
private static final WeakIdentityHashMap<Object, Collection<PassThroughStatistic<?>>>
public final String
public final Map<String, Object>
private final Callable<T>
public final Set<String>

Constructor Summary

AccessConstructor and Description
public
PassThroughStatistic(Object context, String name, Set<String> tags, Map<String, ? extends Object> properties, Callable<T> source)

Method Summary

Modifier and TypeMethod and Description
private static void
pack-priv static boolean
public static void
public T
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BINDINGback to summary
private static final WeakIdentityHashMap<Object, Collection<PassThroughStatistic<?>>> BINDING
nameback to summary
public final String name
Annotations
@ContextAttribute:name
propertiesback to summary
public final Map<String, Object> properties
Annotations
@ContextAttribute:properties
sourceback to summary
private final Callable<T> source
tagsback to summary
public final Set<String> tags
Annotations
@ContextAttribute:tags

Constructor Detail

PassThroughStatisticback to summary
public PassThroughStatistic(Object context, String name, Set<String> tags, Map<String, ? extends Object> properties, Callable<T> source)

Method Detail

bindStatisticback to summary
private static void bindStatistic(PassThroughStatistic<?> stat, Object to)
hasStatisticsForback to summary
pack-priv static boolean hasStatisticsFor(Object to)
removeStatisticsback to summary
public static void removeStatistics(Object to)
valueback to summary
public T value()

Implements org.terracotta.statistics.ValueStatistic.value.

Annotations
@Override