Enum Class CacheMetric

java.lang.Object
java.lang.Enum<CacheMetric>
org.jboss.as.clustering.infinispan.subsystem.CacheMetric
All Implemented Interfaces:
Serializable, Comparable<CacheMetric>, Constable, Function<org.jboss.as.controller.SimpleAttributeDefinitionBuilder,org.jboss.as.controller.SimpleAttributeDefinitionBuilder>, UnaryOperator<org.jboss.as.controller.SimpleAttributeDefinitionBuilder>, Attribute, Definable<org.jboss.as.controller.AttributeDefinition>, Executable<org.infinispan.interceptors.impl.CacheMgmtInterceptor>, Metric<org.infinispan.interceptors.impl.CacheMgmtInterceptor>

public enum CacheMetric extends Enum<CacheMetric> implements Metric<org.infinispan.interceptors.impl.CacheMgmtInterceptor>, UnaryOperator<org.jboss.as.controller.SimpleAttributeDefinitionBuilder>
Enumeration of management metrics for a cache.
Author:
Paul Ferraro
  • Enum Constant Details

    • AVERAGE_READ_TIME

      public static final CacheMetric AVERAGE_READ_TIME
    • AVERAGE_REMOVE_TIME

      public static final CacheMetric AVERAGE_REMOVE_TIME
    • AVERAGE_WRITE_TIME

      public static final CacheMetric AVERAGE_WRITE_TIME
    • EVICTIONS

      public static final CacheMetric EVICTIONS
    • HIT_RATIO

      public static final CacheMetric HIT_RATIO
    • HITS

      public static final CacheMetric HITS
    • MISSES

      public static final CacheMetric MISSES
    • NUMBER_OF_ENTRIES

      @Deprecated public static final CacheMetric NUMBER_OF_ENTRIES
      Deprecated.
    • NUMBER_OF_ENTRIES_IN_MEMORY

      @Deprecated public static final CacheMetric NUMBER_OF_ENTRIES_IN_MEMORY
      Deprecated.
    • READ_WRITE_RATIO

      public static final CacheMetric READ_WRITE_RATIO
    • REMOVE_HITS

      public static final CacheMetric REMOVE_HITS
    • REMOVE_MISSES

      public static final CacheMetric REMOVE_MISSES
    • TIME_SINCE_RESET

      public static final CacheMetric TIME_SINCE_RESET
    • TIME_SINCE_START

      public static final CacheMetric TIME_SINCE_START
    • WRITES

      public static final CacheMetric WRITES
  • Method Details

    • values

      public static CacheMetric[] 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 CacheMetric 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
    • apply

      public org.jboss.as.controller.SimpleAttributeDefinitionBuilder apply(org.jboss.as.controller.SimpleAttributeDefinitionBuilder builder)
      Specified by:
      apply in interface Function<org.jboss.as.controller.SimpleAttributeDefinitionBuilder,org.jboss.as.controller.SimpleAttributeDefinitionBuilder>
    • getDefinition

      public org.jboss.as.controller.AttributeDefinition getDefinition()
      Specified by:
      getDefinition in interface Definable<org.jboss.as.controller.AttributeDefinition>