Class SpringIntegrationMetricReader

    • Constructor Detail

      • SpringIntegrationMetricReader

        public SpringIntegrationMetricReader​(org.springframework.integration.support.management.IntegrationManagementConfigurer configurer)
    • Method Detail

      • findOne

        public Metric<?> findOne​(String metricName)
        Description copied from interface: MetricReader
        Find an instance of the metric with the given name (usually the latest recorded value).
        Specified by:
        findOne in interface MetricReader
        Parameters:
        metricName - the name of the metric to find
        Returns:
        a metric value or null if there are none with that name
      • count

        public long count()
        Description copied from interface: MetricReader
        The number of metrics known to this reader.
        Specified by:
        count in interface MetricReader
        Returns:
        the number of metrics