Enum Class RemoteCacheContainerMetric

java.lang.Object
java.lang.Enum<RemoteCacheContainerMetric>
org.jboss.as.clustering.infinispan.subsystem.remote.RemoteCacheContainerMetric
All Implemented Interfaces:
Serializable, Comparable<RemoteCacheContainerMetric>, Constable, Supplier<org.jboss.as.controller.AttributeDefinition>, ToIntFunction<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>, org.wildfly.subsystem.resource.AttributeDefinitionProvider, org.wildfly.subsystem.resource.executor.Metric<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>

public enum RemoteCacheContainerMetric extends Enum<RemoteCacheContainerMetric> implements org.wildfly.subsystem.resource.executor.Metric<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>, ToIntFunction<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>
Enumerates metrics for a remote cache container.
Author:
Paul Ferraro
  • Enum Constant Details

  • Method Details

    • values

      public static RemoteCacheContainerMetric[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RemoteCacheContainerMetric valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public org.jboss.as.controller.AttributeDefinition get()
      Specified by:
      get in interface Supplier<org.jboss.as.controller.AttributeDefinition>
    • execute

      public org.jboss.dmr.ModelNode execute(org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean manager) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      execute in interface org.wildfly.subsystem.resource.executor.Metric<org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>
      Throws:
      org.jboss.as.controller.OperationFailedException