org.springframework.integration.monitor
Class PollableChannelMonitor
java.lang.Object
org.springframework.integration.monitor.SimpleMessageChannelMonitor
org.springframework.integration.monitor.PollableChannelMonitor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, MessageChannelMonitor
- Direct Known Subclasses:
- QueueChannelMonitor
public class PollableChannelMonitor
- extends SimpleMessageChannelMonitor
- Since:
- 2.0
- Author:
- Dave Syer
Methods inherited from class org.springframework.integration.monitor.SimpleMessageChannelMonitor |
destroy, getErrorRate, getErrorRatio, getMaxSendDuration, getMeanSendDuration, getMinSendDuration, getName, getSendCount, getSendErrorCount, getSendRate, getStandardDeviationSendDuration, getTimeSinceLastSend, invoke |
PollableChannelMonitor
public PollableChannelMonitor(String name)
- Parameters:
name
-
doInvoke
protected Object doInvoke(org.aopalliance.intercept.MethodInvocation invocation,
String method,
MessageChannel channel)
throws Throwable
- Overrides:
doInvoke
in class SimpleMessageChannelMonitor
- Throws:
Throwable
getReceiveCount
@ManagedMetric(metricType=COUNTER,
displayName="MessageChannel Receives")
public long getReceiveCount()
getReceiveErrorCount
@ManagedMetric(metricType=COUNTER,
displayName="MessageChannel Receive Errors")
public long getReceiveErrorCount()
toString
public String toString()
- Overrides:
toString
in class SimpleMessageChannelMonitor
Copyright © 2010. All Rights Reserved.