|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.metric.MetricExecStatement
public class MetricExecStatement
Metrics execution producing statement metric events.
Constructor Summary | |
---|---|
MetricExecStatement(MetricEventRouter metricEventRouter,
MetricScheduleService metricScheduleService,
long interval,
int statementGroup)
Ctor. |
Method Summary | |
---|---|
void |
execute(MetricExecutionContext context)
Execute the production of metric events. |
long |
getInterval()
Returns reporting interval. |
void |
setInterval(long newInterval)
Set a new interval, cancels the existing schedule, re-establishes the new schedule if the interval is a positive number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricExecStatement(MetricEventRouter metricEventRouter, MetricScheduleService metricScheduleService, long interval, int statementGroup)
metricEventRouter
- for routing metric eventsmetricScheduleService
- for scheduling a new executioninterval
- for rescheduling the executionstatementGroup
- group number of statement groupMethod Detail |
---|
public void execute(MetricExecutionContext context)
MetricExec
execute
in interface MetricExec
context
- provides services and schedulingpublic void setInterval(long newInterval)
newInterval
- to setpublic long getInterval()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |