Class DelegateRegistryHistogram

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

    public class DelegateRegistryHistogram
    extends com.codahale.metrics.Histogram
    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

      • DelegateRegistryHistogram

        public DelegateRegistryHistogram​(com.codahale.metrics.Histogram primaryHistogram,
                                         com.codahale.metrics.Histogram delegateHistogram)
    • Method Detail

      • update

        public void update​(int value)
        Overrides:
        update in class com.codahale.metrics.Histogram
      • update

        public void update​(long value)
        Overrides:
        update in class com.codahale.metrics.Histogram
      • getCount

        public long getCount()
        Specified by:
        getCount in interface com.codahale.metrics.Counting
        Overrides:
        getCount in class com.codahale.metrics.Histogram
      • getSnapshot

        public com.codahale.metrics.Snapshot getSnapshot()
        Specified by:
        getSnapshot in interface com.codahale.metrics.Sampling
        Overrides:
        getSnapshot in class com.codahale.metrics.Histogram
      • getPrimaryHistogram

        public com.codahale.metrics.Histogram getPrimaryHistogram()
      • getDelegateHistogram

        public com.codahale.metrics.Histogram getDelegateHistogram()