|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PerformanceCounter
A counter that gathers performance metrics when Exchange are routed in Camel.
| Method Summary | |
|---|---|
void |
completedExchange(long time)
Executed when an Exchange is complete. |
void |
failedExchange()
Executed when an Exchange failed. |
boolean |
isStatisticsEnabled()
Is statistics enabled. |
void |
setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics is enabled. |
| Method Detail |
|---|
void completedExchange(long time)
Exchange is complete.
time - the time it took in millis to complete itvoid failedExchange()
Exchange failed.
boolean isStatisticsEnabled()
void setStatisticsEnabled(boolean statisticsEnabled)
statisticsEnabled - whether statistics is enabled or not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||