Class GlobalMetricsConfiguration

java.lang.Object
org.infinispan.configuration.global.GlobalMetricsConfiguration

public class GlobalMetricsConfiguration extends Object
Configuration for metrics. See GlobalMetricsConfigurationBuilder.
  • Field Details

  • Method Details

    • attributes

      public AttributeSet attributes()
    • enabled

      public boolean enabled()
      Metrics are enabled if at least one of the metric types is enabled. See gauges(), histograms().
    • gauges

      public boolean gauges()
      Are gauges enabled?
    • histograms

      public boolean histograms()
      Are histograms enabled?
    • prefix

      public String prefix()
      The global prefix to add to all metric names.
    • namesAsTags

      public boolean namesAsTags()
      Put the cache manager and cache name in tags rather then include them in the metric name.
    • accurateSize

      public boolean accurateSize()
      Whether cache sizes should be computed
      Returns:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object