public enum RemoteCacheContainerMetric extends Enum<RemoteCacheContainerMetric> implements org.jboss.as.clustering.controller.Metric<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>, ToIntFunction<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>
| Enum Constant and Description |
|---|
ACTIVE_CONNECTIONS |
CONNECTIONS |
IDLE_CONNECTIONS |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
execute(org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean manager) |
org.jboss.as.controller.AttributeDefinition |
getDefinition() |
static RemoteCacheContainerMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteCacheContainerMetric[] |
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, valueOfgetName, resolveModelAttributeapplyAsIntpublic static final RemoteCacheContainerMetric ACTIVE_CONNECTIONS
public static final RemoteCacheContainerMetric CONNECTIONS
public static final RemoteCacheContainerMetric IDLE_CONNECTIONS
public static RemoteCacheContainerMetric[] values()
for (RemoteCacheContainerMetric c : RemoteCacheContainerMetric.values()) System.out.println(c);
public static RemoteCacheContainerMetric 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()
getDefinition in interface org.jboss.as.clustering.controller.Definable<org.jboss.as.controller.AttributeDefinition>public org.jboss.dmr.ModelNode execute(org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean manager)
throws org.jboss.as.controller.OperationFailedException
execute in interface org.jboss.as.clustering.controller.Executable<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>org.jboss.as.controller.OperationFailedExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.