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

pack-priv sealed Enum StandardOperationStatistic

extends Enum<StandardOperationStatistic>
Class Inheritance
Imports
net.sf.ehcache.CacheOperationOutcomes, .Ehcache, net.sf.ehcache.store.StoreOperationOutcomes, net.sf.ehcache.transaction.xa.XaCommitOutcome, .XaRecoveryOutcome, .XaRollbackOutcome, org.terracotta.context.query.Query, java.util.Arrays, .Collections, .HashSet, .Set

The Enum OperationType.
Author
cdennis

Field Summary

Modifier and TypeField and Description
public static final StandardOperationStatistic
CACHE_GET

The cache get.

public static final StandardOperationStatistic
CACHE_ONE_ARG_REPLACE

single arg replace events

public static final StandardOperationStatistic
CACHE_PUT

The cache put.

public static final StandardOperationStatistic
CACHE_PUT_IF_ABSENT

single arge replace events

public static final StandardOperationStatistic
CACHE_REMOVE

The cache remove.

public static final StandardOperationStatistic
CACHE_REMOVE_ELEMENT

single arge replace events

public static final StandardOperationStatistic
CACHE_TWO_ARG_REPLACE

two arg replace events

public static final StandardOperationStatistic
CLUSTER_EVENT

cluster events

private final Query
public static final StandardOperationStatistic
DISK_GET

The disk get.

public static final StandardOperationStatistic
DISK_PUT

The disk put.

public static final StandardOperationStatistic
DISK_REMOVE

The disk remove.

public static final StandardOperationStatistic
EVICTION

The evicted.

public static final StandardOperationStatistic
EXPIRY

The expired.

public static final StandardOperationStatistic
HEAP_GET

The heap get.

public static final StandardOperationStatistic
HEAP_PUT

The heap put.

public static final StandardOperationStatistic
HEAP_REMOVE

The heap remove.

private final String
public static final StandardOperationStatistic
NONSTOP

cluster events

public static final StandardOperationStatistic
OFFHEAP_GET

The offheap get.

public static final StandardOperationStatistic
OFFHEAP_PUT

The offheap put.

public static final StandardOperationStatistic
OFFHEAP_REMOVE

The offheap remove.

private final boolean
public static final StandardOperationStatistic
SEARCH

The search.

private final Set<String>
private static final int
private static final int
private final Class<? extends Enum<E extends Enum<E>>>
public static final StandardOperationStatistic
XA_COMMIT

The xa commit.

public static final StandardOperationStatistic
XA_RECOVERY

The xa recovery.

public static final StandardOperationStatistic
XA_ROLLBACK

The xa rollback.

Constructor Summary

AccessConstructor and Description
private
StandardOperationStatistic(Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)

private
StandardOperationStatistic(boolean required, Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)

private
StandardOperationStatistic(boolean required, Query context, Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)

Method Summary

Modifier and TypeMethod and Description
pack-priv final Query

Returns:

context query
context
()

Query that select context nodes for this statistic.

pack-priv boolean
isSearch()

Is this stat search related or not?

pack-priv final String

Returns:

the statistic name
operationName
()

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

pack-priv final boolean
required()

If this statistic is required.

pack-priv final Set<String>

Returns:

the statistic tags
tags
()

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

pack-priv final Class<? extends Enum<E extends Enum<E>>>

Returns:

operation result type
type
()

Operation result type.

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

Field Detail

CACHE_GETback to summary
public static final StandardOperationStatistic CACHE_GET

The cache get.

CACHE_ONE_ARG_REPLACEback to summary
public static final StandardOperationStatistic CACHE_ONE_ARG_REPLACE

single arg replace events

CACHE_PUTback to summary
public static final StandardOperationStatistic CACHE_PUT

The cache put.

CACHE_PUT_IF_ABSENTback to summary
public static final StandardOperationStatistic CACHE_PUT_IF_ABSENT

single arge replace events

CACHE_REMOVEback to summary
public static final StandardOperationStatistic CACHE_REMOVE

The cache remove.

CACHE_REMOVE_ELEMENTback to summary
public static final StandardOperationStatistic CACHE_REMOVE_ELEMENT

single arge replace events

CACHE_TWO_ARG_REPLACEback to summary
public static final StandardOperationStatistic CACHE_TWO_ARG_REPLACE

two arg replace events

CLUSTER_EVENTback to summary
public static final StandardOperationStatistic CLUSTER_EVENT

cluster events

contextback to summary
private final Query context
DISK_GETback to summary
public static final StandardOperationStatistic DISK_GET

The disk get.

DISK_PUTback to summary
public static final StandardOperationStatistic DISK_PUT

The disk put.

DISK_REMOVEback to summary
public static final StandardOperationStatistic DISK_REMOVE

The disk remove.

EVICTIONback to summary
public static final StandardOperationStatistic EVICTION

The evicted.

EXPIRYback to summary
public static final StandardOperationStatistic EXPIRY

The expired.

HEAP_GETback to summary
public static final StandardOperationStatistic HEAP_GET

The heap get.

HEAP_PUTback to summary
public static final StandardOperationStatistic HEAP_PUT

The heap put.

HEAP_REMOVEback to summary
public static final StandardOperationStatistic HEAP_REMOVE

The heap remove.

nameback to summary
private final String name

Hides java.lang.Enum.name.

NONSTOPback to summary
public static final StandardOperationStatistic NONSTOP

cluster events

OFFHEAP_GETback to summary
public static final StandardOperationStatistic OFFHEAP_GET

The offheap get.

OFFHEAP_PUTback to summary
public static final StandardOperationStatistic OFFHEAP_PUT

The offheap put.

OFFHEAP_REMOVEback to summary
public static final StandardOperationStatistic OFFHEAP_REMOVE

The offheap remove.

requiredback to summary
private final boolean required
tagsback to summary
private final Set<String> tags
TENback to summary
private static final int TEN
THIRTYback to summary
private static final int THIRTY
typeback to summary
private final Class<? extends Enum<E extends Enum<E>>> type
XA_COMMITback to summary
public static final StandardOperationStatistic XA_COMMIT

The xa commit.

XA_RECOVERYback to summary
public static final StandardOperationStatistic XA_RECOVERY

The xa recovery.

XA_ROLLBACKback to summary
public static final StandardOperationStatistic XA_ROLLBACK

The xa rollback.

Constructor Detail

StandardOperationStatisticback to summary
private StandardOperationStatistic(Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)
StandardOperationStatisticback to summary
private StandardOperationStatistic(boolean required, Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)
StandardOperationStatisticback to summary
private StandardOperationStatistic(boolean required, Query context, Class<? extends Enum<E extends Enum<E>>> type, String name, String... tags)

Method Detail

contextback to summary
pack-priv final Query context()

Query that select context nodes for this statistic.

Returns:Query

context query

isSearchback to summary
pack-priv boolean isSearch()

Is this stat search related or not?

operationNameback to summary
pack-priv final String operationName()

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

Returns:String

the statistic name

requiredback to summary
pack-priv final boolean required()

If this statistic is required.

If required and this statistic is not present an exception will be thrown.

tagsback to summary
pack-priv 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
pack-priv final Class<? extends Enum<E extends Enum<E>>> type()

Operation result type.

Returns:Class<? extends Enum<E extends Enum<E>>>

operation result type

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