Class EPDataFlowInstanceOperatorStat
java.lang.Object
com.espertech.esper.common.client.dataflow.core.EPDataFlowInstanceOperatorStat
Statistics holder for data flow instances.
-
Constructor Summary
ConstructorDescriptionEPDataFlowInstanceOperatorStat
(String operatorName, String operatorPrettyPrint, int operatorNumber, long submittedOverallCount, long[] submittedPerPortCount, long timeOverall, long[] timePerPort) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns operator name.int
Returns the operator number.Returns operator pretty printlong
Returns count of submitted events.long[]
Returns count of submitted events per port.long
Returns total time spent submitting eventslong[]
Returns total time spent submitting events per port
-
Constructor Details
-
EPDataFlowInstanceOperatorStat
public EPDataFlowInstanceOperatorStat(String operatorName, String operatorPrettyPrint, int operatorNumber, long submittedOverallCount, long[] submittedPerPortCount, long timeOverall, long[] timePerPort) Ctor.- Parameters:
operatorName
- operator nameoperatorPrettyPrint
- operator pretty printoperatorNumber
- operator numbersubmittedOverallCount
- count of submitted eventssubmittedPerPortCount
- count of events submitted per porttimeOverall
- time spent submitting eventstimePerPort
- time spent submitting events per port
-
-
Method Details
-
getOperatorName
Returns operator name.- Returns:
- op name
-
getSubmittedOverallCount
public long getSubmittedOverallCount()Returns count of submitted events.- Returns:
- count
-
getSubmittedPerPortCount
public long[] getSubmittedPerPortCount()Returns count of submitted events per port.- Returns:
- count per port
-
getOperatorPrettyPrint
Returns operator pretty print- Returns:
- textual representation of op
-
getOperatorNumber
public int getOperatorNumber()Returns the operator number.- Returns:
- op number
-
getTimeOverall
public long getTimeOverall()Returns total time spent submitting events- Returns:
- time
-
getTimePerPort
public long[] getTimePerPort()Returns total time spent submitting events per port- Returns:
- time per port
-