Class DelegateRegistryMeter

  • All Implemented Interfaces:
    com.codahale.metrics.Counting, com.codahale.metrics.Metered, com.codahale.metrics.Metric

    public class DelegateRegistryMeter
    extends com.codahale.metrics.Meter
    A meter implementation that is aware of both primary and delegate metrics belonging to different registries and able to update metrics in multiple registries
    See Also:
    SolrDelegateRegistryMetricsContext
    • Constructor Detail

      • DelegateRegistryMeter

        public DelegateRegistryMeter​(com.codahale.metrics.Meter primaryMeter,
                                     com.codahale.metrics.Meter delegateMeter)
    • Method Detail

      • mark

        public void mark()
        Overrides:
        mark in class com.codahale.metrics.Meter
      • mark

        public void mark​(long n)
        Overrides:
        mark in class com.codahale.metrics.Meter
      • getCount

        public long getCount()
        Specified by:
        getCount in interface com.codahale.metrics.Counting
        Specified by:
        getCount in interface com.codahale.metrics.Metered
        Overrides:
        getCount in class com.codahale.metrics.Meter
      • getFifteenMinuteRate

        public double getFifteenMinuteRate()
        Specified by:
        getFifteenMinuteRate in interface com.codahale.metrics.Metered
        Overrides:
        getFifteenMinuteRate in class com.codahale.metrics.Meter
      • getFiveMinuteRate

        public double getFiveMinuteRate()
        Specified by:
        getFiveMinuteRate in interface com.codahale.metrics.Metered
        Overrides:
        getFiveMinuteRate in class com.codahale.metrics.Meter
      • getMeanRate

        public double getMeanRate()
        Specified by:
        getMeanRate in interface com.codahale.metrics.Metered
        Overrides:
        getMeanRate in class com.codahale.metrics.Meter
      • getOneMinuteRate

        public double getOneMinuteRate()
        Specified by:
        getOneMinuteRate in interface com.codahale.metrics.Metered
        Overrides:
        getOneMinuteRate in class com.codahale.metrics.Meter
      • getPrimaryMeter

        public com.codahale.metrics.Meter getPrimaryMeter()
      • getDelegateMeter

        public com.codahale.metrics.Meter getDelegateMeter()