Class RuntimeMetric
java.lang.Object
com.espertech.esper.common.client.metric.MetricEvent
com.espertech.esper.common.client.metric.RuntimeMetric
- All Implemented Interfaces:
Serializable
Reports runtime-level instrumentation values.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRuntimeMetric
(String runtimeURI, long timestamp, long inputCount, long inputCountDelta, long scheduleDepth) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns input count since runtime initialization, cumulative.long
Returns input count since last reporting period.long
Returns schedule depth.long
Returns runtime timestamp.Methods inherited from class com.espertech.esper.common.client.metric.MetricEvent
getRuntimeURI
-
Field Details
-
EPTYPE
Type information
-
-
Constructor Details
-
RuntimeMetric
public RuntimeMetric(String runtimeURI, long timestamp, long inputCount, long inputCountDelta, long scheduleDepth) Ctor.- Parameters:
runtimeURI
- runtime URItimestamp
- runtime timestampinputCount
- number of input eventsinputCountDelta
- number of input events since lastscheduleDepth
- 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
-