org.apache.uima.aae.jmx.monitor

## Interface JmxMonitorListener

- All Known Implementing Classes:
    BasicUimaJmxMonitorListener, SingleLineUimaJmxMonitorListener

      public interface JmxMonitorListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onNewMetrics(long sampleTime, ServiceMetrics[] metrics)` Provides metrics for all UIMA AS services collected during a checkpoint.

- - ### Method Detail

    - #### onNewMetrics

          void onNewMetrics(long sampleTime,
                            ServiceMetrics[] metrics)

      Provides metrics for all UIMA AS services collected during a checkpoint. This method is called by the { org.apache.uima.aae.jmx.monitor.JmxMonitor} after each checkpoint with the latest metrics. The metrics are deltas except for queue depth attribute.
      Parameters:
        `sampleTime` - - last checkpoint time
        `metrics` - - an array of ServiceMetrics objects, each holding metrics for a specific UIMA AS service.

Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.