public class PollableChannelMetrics extends DirectChannelMetrics
DEFAULT_MOVING_AVERAGE_WINDOW, logger, ONE_MINUTE_SECONDS, ONE_SECOND_SECONDS| Constructor and Description |
|---|
PollableChannelMetrics(org.springframework.messaging.MessageChannel messageChannel,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
doInvoke(org.aopalliance.intercept.MethodInvocation invocation,
java.lang.String method,
org.springframework.messaging.MessageChannel channel) |
int |
getReceiveCount() |
int |
getReceiveErrorCount() |
void |
reset() |
java.lang.String |
toString() |
destroy, getErrorRate, getMaxSendDuration, getMeanErrorRate, getMeanErrorRatio, getMeanSendDuration, getMeanSendRate, getMessageChannel, getMinSendDuration, getName, getSendCount, getSendDuration, getSendErrorCount, getSendRate, getStandardDeviationSendDuration, getTimeSinceLastSend, invokepublic PollableChannelMetrics(org.springframework.messaging.MessageChannel messageChannel,
java.lang.String name)
protected java.lang.Object doInvoke(org.aopalliance.intercept.MethodInvocation invocation,
java.lang.String method,
org.springframework.messaging.MessageChannel channel)
throws java.lang.Throwable
doInvoke in class DirectChannelMetricsjava.lang.Throwable@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 java.lang.String toString()
toString in class DirectChannelMetrics