Top Fields Constructors Methods
org.terracotta.statistics

public Class ConstantValueStatistic<T extends java.io.Serializable>

extends Object
implements ValueStatistic<T extends Serializable>, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.terracotta.statistics.ValueStatistic
Imports
java.io.Serializable

Author
cdennis

Field Summary

Modifier and TypeField and Description
private static final long
private final StatisticType
private final T

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public StatisticType
public T
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
typeback to summary
private final StatisticType type
valueback to summary
private final T value

Constructor Detail

ConstantValueStatisticback to summary
public ConstantValueStatistic(StatisticType type, T value)

Method Detail

typeback to summary
public StatisticType type()

Implements org.terracotta.statistics.ValueStatistic.type.

Returns:StatisticType

Doc from org.terracotta.statistics.ValueStatistic.type.

The statistic type

Annotations
@Override
valueback to summary
public T value()

Implements org.terracotta.statistics.ValueStatistic.value.

Returns:T

Doc from org.terracotta.statistics.ValueStatistic.value.

The current statistic value

Annotations
@Override