Enum StandardPassThroughStatistic
- java.lang.Object
-
- java.lang.Enum<StandardPassThroughStatistic>
-
- net.sf.ehcache.statistics.extended.StandardPassThroughStatistic
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StandardPassThroughStatistic>
public enum StandardPassThroughStatistic extends java.lang.Enum<StandardPassThroughStatistic>
- Author:
- cdennis
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE_SIZEcache sizeLAST_REJOIN_TIMESTAMPlast rejoin timeLOCAL_DISK_SIZElocal disk size in entriesLOCAL_DISK_SIZE_BYTESlocal disk size in bytesLOCAL_HEAP_SIZElocal heap size in entriesLOCAL_HEAP_SIZE_BYTESlocal hea size in bytesLOCAL_OFFHEAP_SIZElocal off heap size in entry countLOCAL_OFFHEAP_SIZE_BYTESlocal offheap size in bytesREMOTE_SIZEremote sizeWRITER_QUEUE_LENGTHwriter queue length
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.NumberabsentValue()Statistic value when absent.java.lang.StringstatisticName()The name of the statistic as found in the statistics context tree.java.util.Set<java.lang.String>tags()A set of tags that will be on the statistic found in the statistics context tree.java.lang.Class<? extends java.lang.Number>type()Statistic value type.static StandardPassThroughStatisticvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StandardPassThroughStatistic[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE_SIZE
public static final StandardPassThroughStatistic CACHE_SIZE
cache size
-
LOCAL_HEAP_SIZE
public static final StandardPassThroughStatistic LOCAL_HEAP_SIZE
local heap size in entries
-
LOCAL_HEAP_SIZE_BYTES
public static final StandardPassThroughStatistic LOCAL_HEAP_SIZE_BYTES
local hea size in bytes
-
LOCAL_OFFHEAP_SIZE
public static final StandardPassThroughStatistic LOCAL_OFFHEAP_SIZE
local off heap size in entry count
-
LOCAL_OFFHEAP_SIZE_BYTES
public static final StandardPassThroughStatistic LOCAL_OFFHEAP_SIZE_BYTES
local offheap size in bytes
-
LOCAL_DISK_SIZE
public static final StandardPassThroughStatistic LOCAL_DISK_SIZE
local disk size in entries
-
LOCAL_DISK_SIZE_BYTES
public static final StandardPassThroughStatistic LOCAL_DISK_SIZE_BYTES
local disk size in bytes
-
WRITER_QUEUE_LENGTH
public static final StandardPassThroughStatistic WRITER_QUEUE_LENGTH
writer queue length
-
REMOTE_SIZE
public static final StandardPassThroughStatistic REMOTE_SIZE
remote size
-
LAST_REJOIN_TIMESTAMP
public static final StandardPassThroughStatistic LAST_REJOIN_TIMESTAMP
last rejoin time
-
-
Method Detail
-
values
public static StandardPassThroughStatistic[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StandardPassThroughStatistic c : StandardPassThroughStatistic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardPassThroughStatistic valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
type
public final java.lang.Class<? extends java.lang.Number> type()
Statistic value type.- Returns:
- value type
-
absentValue
public final java.lang.Number absentValue()
Statistic value when absent.- Returns:
- absent value
-
statisticName
public final java.lang.String statisticName()
The name of the statistic as found in the statistics context tree.- Returns:
- the statistic name
-
tags
public final java.util.Set<java.lang.String> tags()
A set of tags that will be on the statistic found in the statistics context tree.- Returns:
- the statistic tags
-
-