Interface StatusSnapshot


public interface StatusSnapshot
A StatusSnapshot represents a Component's status report at some point in time
  • Method Details

    • getTimestamp

      Date getTimestamp()
      Returns:
      the point in time for which the status values were obtained
    • getMetricDescriptors

      Set<MetricDescriptor<?>> getMetricDescriptors()
    • getStatusMetric

      Long getStatusMetric(MetricDescriptor<?> descriptor)
    • withoutCounters

      StatusSnapshot withoutCounters()
      Returns an instance of StatusSnapshot that has all the same information as this except for Counters. If this does not contain any counters, the object returned may (or may not) be this.
      Returns:
      a StatusSnapshot without counters
    • getValueReducer

      Returns:
      a ValueReducer that is capable of merging multiple StatusSnapshot objects into a single one