public class QueueChannelMetrics extends PollableChannelMetrics
DEFAULT_MOVING_AVERAGE_WINDOW, logger, ONE_MINUTE_SECONDS, ONE_SECOND_SECONDS| Constructor and Description |
|---|
QueueChannelMetrics(QueueChannel channel,
String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getQueueSize() |
int |
getRemainingCapacity() |
doInvoke, getReceiveCount, getReceiveCountLong, getReceiveErrorCount, getReceiveErrorCountLong, reset, toStringdestroy, getErrorRate, getMaxSendDuration, getMeanErrorRate, getMeanErrorRatio, getMeanSendDuration, getMeanSendRate, getMessageChannel, getMinSendDuration, getName, getSendCount, getSendCountLong, getSendDuration, getSendErrorCount, getSendErrorCountLong, getSendRate, getStandardDeviationSendDuration, getTimeSinceLastSend, invokepublic QueueChannelMetrics(QueueChannel channel, String name)
@ManagedMetric(metricType=GAUGE, displayName="QueueChannel Queue Size") public int getQueueSize()
@ManagedMetric(metricType=GAUGE, displayName="QueueChannel Remaining Capacity") public int getRemainingCapacity()