public enum LockingMetric extends Enum<LockingMetric> implements Metric<org.infinispan.util.concurrent.locks.impl.DefaultLockManager>
Enum Constant and Description |
---|
CURRENT_CONCURRENCY_LEVEL |
NUMBER_OF_LOCKS_AVAILABLE |
NUMBER_OF_LOCKS_HELD |
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.AttributeDefinition |
getDefinition()
Returns the definition of this object.
|
static LockingMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockingMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
execute
public static final LockingMetric CURRENT_CONCURRENCY_LEVEL
public static final LockingMetric NUMBER_OF_LOCKS_AVAILABLE
public static final LockingMetric NUMBER_OF_LOCKS_HELD
public static LockingMetric[] values()
for (LockingMetric c : LockingMetric.values()) System.out.println(c);
public static LockingMetric 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 org.jboss.as.controller.AttributeDefinition getDefinition()
Definable
getDefinition
in interface Definable<org.jboss.as.controller.AttributeDefinition>
Copyright © 2017 JBoss by Red Hat. All rights reserved.