Class GlobalMetricsConfiguration

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ACCURATE_SIZE  
      static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> GAUGES  
      static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> HISTOGRAMS  
      static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> NAMES_AS_TAGS  
      static org.infinispan.commons.configuration.attributes.AttributeDefinition<String> PREFIX  
    • Field Detail

      • GAUGES

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> GAUGES
      • HISTOGRAMS

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> HISTOGRAMS
      • PREFIX

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> PREFIX
      • NAMES_AS_TAGS

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> NAMES_AS_TAGS
      • ACCURATE_SIZE

        public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ACCURATE_SIZE
    • Method Detail

      • attributes

        public org.infinispan.commons.configuration.attributes.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)
      • hashCode

        public int hashCode()
      • toString

        public String toString()