Top Fields Constructors Methods
net.sf.ehcache.statistics.extended

public final Enum StandardPassThroughStatistic

extends Enum<StandardPassThroughStatistic>
Class Inheritance
Imports
java.util.Arrays, .Collections, .HashSet, .Set, net.sf.ehcache.Ehcache, org.terracotta.context.query.Query

Author
cdennis

Field Summary

Modifier and TypeField and Description
private final Number
public static final StandardPassThroughStatistic
CACHE_SIZE

cache size

private final Query
public static final StandardPassThroughStatistic
LAST_REJOIN_TIMESTAMP

last rejoin time

public static final StandardPassThroughStatistic
LOCAL_DISK_SIZE

local disk size in entries

public static final StandardPassThroughStatistic
LOCAL_DISK_SIZE_BYTES

local disk size in bytes

public static final StandardPassThroughStatistic
LOCAL_HEAP_SIZE

local heap size in entries

public static final StandardPassThroughStatistic
LOCAL_HEAP_SIZE_BYTES

local hea size in bytes

public static final StandardPassThroughStatistic
LOCAL_OFFHEAP_SIZE

local off heap size in entry count

public static final StandardPassThroughStatistic
LOCAL_OFFHEAP_SIZE_BYTES

local offheap size in bytes

private final String
public static final StandardPassThroughStatistic
REMOTE_SIZE

remote size

private final Set<String>
private static final int
private final Class<? extends Number>
public static final StandardPassThroughStatistic
WRITER_QUEUE_LENGTH

writer queue length

Constructor Summary

AccessConstructor and Description
private <T extends Number>
StandardPassThroughStatistic(Query context, Class<T> type, T absentValue, String name, String... tags)

Method Summary

Modifier and TypeMethod and Description
public final Number

Returns:

absent value
absentValue
()

Statistic value when absent.

pack-priv final Query

Returns:

context query
context
()

Query that select context nodes for this statistic.

public final String

Returns:

the statistic name
statisticName
()

The name of the statistic as found in the statistics context tree.

public final Set<String>

Returns:

the statistic tags
tags
()

A set of tags that will be on the statistic found in the statistics context tree.

public final Class<? extends Number>

Returns:

value type
type
()

Statistic value type.

public static StandardPassThroughStatistic
public static StandardPassThroughStatistic[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

absentValueback to summary
private final Number absentValue
CACHE_SIZEback to summary
public static final StandardPassThroughStatistic CACHE_SIZE

cache size

contextback to summary
private final Query context
LAST_REJOIN_TIMESTAMPback to summary
public static final StandardPassThroughStatistic LAST_REJOIN_TIMESTAMP

last rejoin time

LOCAL_DISK_SIZEback to summary
public static final StandardPassThroughStatistic LOCAL_DISK_SIZE

local disk size in entries

LOCAL_DISK_SIZE_BYTESback to summary
public static final StandardPassThroughStatistic LOCAL_DISK_SIZE_BYTES

local disk size in bytes

LOCAL_HEAP_SIZEback to summary
public static final StandardPassThroughStatistic LOCAL_HEAP_SIZE

local heap size in entries

LOCAL_HEAP_SIZE_BYTESback to summary
public static final StandardPassThroughStatistic LOCAL_HEAP_SIZE_BYTES

local hea size in bytes

LOCAL_OFFHEAP_SIZEback to summary
public static final StandardPassThroughStatistic LOCAL_OFFHEAP_SIZE

local off heap size in entry count

LOCAL_OFFHEAP_SIZE_BYTESback to summary
public static final StandardPassThroughStatistic LOCAL_OFFHEAP_SIZE_BYTES

local offheap size in bytes

nameback to summary
private final String name

Hides java.lang.Enum.name.

REMOTE_SIZEback to summary
public static final StandardPassThroughStatistic REMOTE_SIZE

remote size

tagsback to summary
private final Set<String> tags
THIRTYback to summary
private static final int THIRTY
typeback to summary
private final Class<? extends Number> type
WRITER_QUEUE_LENGTHback to summary
public static final StandardPassThroughStatistic WRITER_QUEUE_LENGTH

writer queue length

Constructor Detail

StandardPassThroughStatisticback to summary
private <T extends Number> StandardPassThroughStatistic(Query context, Class<T> type, T absentValue, String name, String... tags)

Method Detail

absentValueback to summary
public final Number absentValue()

Statistic value when absent.

Returns:Number

absent value

contextback to summary
pack-priv final Query context()

Query that select context nodes for this statistic.

Returns:Query

context query

statisticNameback to summary
public final String statisticName()

The name of the statistic as found in the statistics context tree.

Returns:String

the statistic name

tagsback to summary
public final Set<String> tags()

A set of tags that will be on the statistic found in the statistics context tree.

Returns:Set<String>

the statistic tags

typeback to summary
public final Class<? extends Number> type()

Statistic value type.

Returns:Class<? extends Number>

value type

valueOfback to summary
public static StandardPassThroughStatistic valueOf(String name)
valuesback to summary
public static StandardPassThroughStatistic[] values()