ehcache

net.sf.ehcache.statistics.extended
Enum StandardPassThroughStatistic

java.lang.Object
  extended by java.lang.Enum<StandardPassThroughStatistic>
      extended by net.sf.ehcache.statistics.extended.StandardPassThroughStatistic
All Implemented Interfaces:
Serializable, Comparable<StandardPassThroughStatistic>

public enum StandardPassThroughStatistic
extends Enum<StandardPassThroughStatistic>

Author:
cdennis

Enum Constant Summary
CACHE_SIZE
          cache size
LAST_REJOIN_TIMESTAMP
          last rejoin time
LOCAL_DISK_SIZE
          local disk size in entries
LOCAL_DISK_SIZE_BYTES
          local disk size in bytes
LOCAL_HEAP_SIZE
          local heap size in entries
LOCAL_HEAP_SIZE_BYTES
          local hea size in bytes
LOCAL_OFFHEAP_SIZE
          local off heap size in entry count
LOCAL_OFFHEAP_SIZE_BYTES
          local offheap size in bytes
REMOTE_SIZE
          remote size
WRITER_QUEUE_LENGTH
          writer queue length
 
Method Summary
 Number absentValue()
          Statistic value when absent.
 String statisticName()
          The name of the statistic as found in the statistics context tree.
 Set<String> tags()
          A set of tags that will be on the statistic found in the statistics context tree.
 Class<? extends Number> type()
          Statistic value type.
static StandardPassThroughStatistic valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

type

public final Class<? extends Number> type()
Statistic value type.

Returns:
value type

absentValue

public final Number absentValue()
Statistic value when absent.

Returns:
absent value

statisticName

public final String statisticName()
The name of the statistic as found in the statistics context tree.

Returns:
the statistic name

tags

public final Set<String> tags()
A set of tags that will be on the statistic found in the statistics context tree.

Returns:
the statistic tags

ehcache

Copyright 2001-2017, Terracotta, Inc.