|
ModeShape Distribution 3.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ValueMetric>
org.modeshape.jcr.api.monitor.ValueMetric
public enum ValueMetric
The metrics for which ModeShape captures statistics on running values.
| Enum Constant Summary | |
|---|---|
EVENT_COUNT
The metric that records the number of observation events that have been sent to at least one listener. |
|
EVENT_QUEUE_SIZE
The metric that records the number of observation events that are in the queue and awaiting processing (and
still have yet to be sent to the liseners). |
|
LISTENER_COUNT
The metric that records the number of observation listeners in existance during the window. |
|
NODE_CHANGES
The metric that captures the number of nodes that were created, updated, or deleted during the window as part of the Session.save(), VersionManager.checkin(String),
Workspace.import and other calls that change content. |
|
OPEN_SCOPED_LOCK_COUNT
The metric that records the number of non-session-scoped JCR locks in existance
during the window. |
|
QUERY_COUNT
The metric that captures the number of queries that are executing during the window. |
|
SEQUENCED_COUNT
The metric that records the number of nodes that were sequenced. |
|
SEQUENCER_QUEUE_SIZE
The metric that records the number of nodes that were sequenced. |
|
SESSION_COUNT
The metric that captures the number of sessions that are open during the window. |
|
SESSION_SAVES
The metric that captures the number of Session.save() calls that have occurred during the window. |
|
SESSION_SCOPED_LOCK_COUNT
The metric that records the number of session-scoped JCR locks in existence
during the window. |
|
WORKSPACE_COUNT
The metric that records the number of workspaces in existance during the window. |
|
| Method Summary | |
|---|---|
static ValueMetric |
fromLiteral(String literal)
Get the ValueMetric that has the supplied literal. |
String |
getDescription()
Return the description for this metric. |
String |
getLabel()
The readable label for this metric. |
String |
getLiteral()
The literal string form of the value metric. |
boolean |
isContinuous()
Return whether this metric's values are continuous across multiple windows. |
static ValueMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ValueMetric[] |
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 |
|---|
public static final ValueMetric SESSION_COUNT
sessions that are open during the window.
public static final ValueMetric QUERY_COUNT
queries that are executing during the window.
public static final ValueMetric WORKSPACE_COUNT
workspaces in existance during the window.
public static final ValueMetric LISTENER_COUNT
observation listeners in existance during the window.
public static final ValueMetric EVENT_QUEUE_SIZE
observation events that are in the queue and awaiting processing (and
still have yet to be sent to the liseners).
public static final ValueMetric EVENT_COUNT
observation events that have been sent to at least one listener.
public static final ValueMetric SESSION_SCOPED_LOCK_COUNT
session-scoped JCR locks in existence
during the window.
public static final ValueMetric OPEN_SCOPED_LOCK_COUNT
non-session-scoped JCR locks in existance
during the window.
public static final ValueMetric SESSION_SAVES
Session.save() calls that have occurred during the window.
public static final ValueMetric NODE_CHANGES
Session.save(), VersionManager.checkin(String),
Workspace.import and other calls that change content.
public static final ValueMetric SEQUENCER_QUEUE_SIZE
public static final ValueMetric SEQUENCED_COUNT
| Method Detail |
|---|
public static ValueMetric[] values()
for (ValueMetric c : ValueMetric.values()) System.out.println(c);
public static ValueMetric valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getLiteral()
public String getLabel()
public String getDescription()
public boolean isContinuous()
On the other hand, the values of a non-continous metric will have values that always start at zero at the beginning of a window.
public static ValueMetric fromLiteral(String literal)
ValueMetric that has the supplied literal.
literal - the literal (can be of any case); may not be null
|
ModeShape Distribution 3.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||