|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.metric.StatementMetricRepository
public class StatementMetricRepository
A repository for all statement metrics that organizes statements into statement groups.
At a minimum there is one group (the default) of index zero.
Constructor Summary | |
---|---|
StatementMetricRepository(java.lang.String engineURI,
ConfigurationMetricsReporting specification)
Ctor. |
Method Summary | |
---|---|
void |
accountOutput(StatementMetricHandle handle,
int numIStream,
int numRStream)
Account row output. |
void |
accountTimes(StatementMetricHandle handle,
long cpu,
long wall,
int numInput)
Account statement times. |
StatementMetricHandle |
addStatement(java.lang.String stmtName)
Add a statement, inspecting the statement name and adding it to a statement group or the default group, if none. |
void |
removeStatement(java.lang.String stmtName)
Remove statement. |
StatementMetric[] |
reportGroup(int group)
Report for a given statement group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatementMetricRepository(java.lang.String engineURI, ConfigurationMetricsReporting specification)
engineURI
- engine URIspecification
- specifies statement groupsMethod Detail |
---|
public StatementMetricHandle addStatement(java.lang.String stmtName)
stmtName
- name to inspect
public void removeStatement(java.lang.String stmtName)
stmtName
- to removepublic void accountTimes(StatementMetricHandle handle, long cpu, long wall, int numInput)
handle
- statement handlecpu
- timewall
- timepublic void accountOutput(StatementMetricHandle handle, int numIStream, int numRStream)
handle
- statement handlenumIStream
- num rows insert streamnumRStream
- num rows remove streampublic StatementMetric[] reportGroup(int group)
group
- to report
|
© 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 |