Class 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
    • equals

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

      public int hashCode()
      hashCode in class Object
    • toString

      public String toString()
      toString in class Object