com.espertech.esper.client.metric
Class EngineMetric

java.lang.Object
  extended by com.espertech.esper.client.metric.MetricEvent
      extended by com.espertech.esper.client.metric.EngineMetric

public class EngineMetric
extends MetricEvent

Reports engine-level instrumentation values.


Constructor Summary
EngineMetric(java.lang.String engineURI, long timestamp, long inputCount, long inputCountDelta, long scheduleDepth)
          Ctor.
 
Method Summary
 long getInputCount()
          Returns input count since engine initialization cumulative.
 long getInputCountDelta()
          Returns input count since last reporting period.
 long getScheduleDepth()
          Returns schedule depth.
 long getTimestamp()
          Returns engine timestamp.
 
Methods inherited from class com.espertech.esper.client.metric.MetricEvent
getEngineURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineMetric

public EngineMetric(java.lang.String engineURI,
                    long timestamp,
                    long inputCount,
                    long inputCountDelta,
                    long scheduleDepth)
Ctor.

Parameters:
engineURI - engine URI
timestamp - engine timestamp
inputCount - number of input events
inputCountDelta - number of input events since last
scheduleDepth - schedule depth
Method Detail

getInputCount

public long getInputCount()
Returns input count since engine initialization cumulative.

Returns:
input count

getScheduleDepth

public long getScheduleDepth()
Returns schedule depth.

Returns:
schedule depth

getTimestamp

public long getTimestamp()
Returns engine timestamp.

Returns:
timestamp

getInputCountDelta

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

Returns:
input count

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com