Class RuntimeMetric

java.lang.Object
com.espertech.esper.common.client.metric.MetricEvent
com.espertech.esper.common.client.metric.RuntimeMetric
All Implemented Interfaces:
Serializable

public class RuntimeMetric extends MetricEvent
Reports runtime-level instrumentation values.
See Also:
  • Field Details

    • EPTYPE

      public static final EPTypeClass EPTYPE
      Type information
  • Constructor Details

    • RuntimeMetric

      public RuntimeMetric(String runtimeURI, long timestamp, long inputCount, long inputCountDelta, long scheduleDepth)
      Ctor.
      Parameters:
      runtimeURI - runtime URI
      timestamp - runtime timestamp
      inputCount - number of input events
      inputCountDelta - number of input events since last
      scheduleDepth - schedule depth
  • Method Details

    • getInputCount

      public long getInputCount()
      Returns input count since runtime initialization, cumulative.
      Returns:
      input count
    • getScheduleDepth

      public long getScheduleDepth()
      Returns schedule depth.
      Returns:
      schedule depth
    • getTimestamp

      public long getTimestamp()
      Returns runtime timestamp.
      Returns:
      timestamp
    • getInputCountDelta

      public long getInputCountDelta()
      Returns input count since last reporting period.
      Returns:
      input count