public enum ValueMetric extends Enum<ValueMetric>
Enum Constant and Description |
---|
EVENT_BUFFER_AVAILABILITY
The metric that records the total number of events that have been submitted to the repository change bus during a
window.
|
EVENT_COUNT
The metric that records the total number of events that have been submitted to the repository during the window.
|
EVENT_QUEUE_SIZE
The metric that records the number of events that the slowest repository listener still has to process, based on the
ring buffer implementation.
|
LISTENER_COUNT
The metric that records the number of
listeners in existence 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 existence
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 existence during the window. |
Modifier and Type | Method and Description |
---|---|
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.
|
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 existence during the window.public static final ValueMetric LISTENER_COUNT
listeners
in existence during the window.public static final ValueMetric EVENT_QUEUE_SIZE
public static final ValueMetric EVENT_COUNT
public static final ValueMetric EVENT_BUFFER_AVAILABILITY
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 existence
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
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 nameNullPointerException
- 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 nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.