public class PollableChannelMetrics extends DirectChannelMetrics
DEFAULT_MOVING_AVERAGE_WINDOW, logger, ONE_MINUTE_SECONDS, ONE_SECOND_SECONDS| Constructor and Description |
|---|
PollableChannelMetrics(MessageChannel messageChannel,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doInvoke(org.aopalliance.intercept.MethodInvocation invocation,
String method,
MessageChannel channel) |
int |
getReceiveCount() |
int |
getReceiveErrorCount() |
void |
reset() |
String |
toString() |
destroy, getErrorRate, getMaxSendDuration, getMeanErrorRate, getMeanErrorRatio, getMeanSendDuration, getMeanSendRate, getMessageChannel, getMinSendDuration, getName, getSendCount, getSendDuration, getSendErrorCount, getSendRate, getStandardDeviationSendDuration, getTimeSinceLastSend, invokepublic PollableChannelMetrics(MessageChannel messageChannel, String name)
protected Object doInvoke(org.aopalliance.intercept.MethodInvocation invocation, String method, MessageChannel channel) throws Throwable
doInvoke in class DirectChannelMetricsThrowable@ManagedOperation public void reset()
reset in interface MessageChannelMetricsreset in class DirectChannelMetrics@ManagedMetric(metricType=COUNTER, displayName="MessageChannel Receive Count") public int getReceiveCount()
@ManagedMetric(metricType=COUNTER, displayName="MessageChannel Receive Error Count") public int getReceiveErrorCount()
public String toString()
toString in class DirectChannelMetrics