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, getReceiveErrorCount, reset, toString
destroy, getErrorRate, getMaxSendDuration, getMeanErrorRate, getMeanErrorRatio, getMeanSendDuration, getMeanSendRate, getMessageChannel, getMinSendDuration, getName, getSendCount, getSendDuration, getSendErrorCount, getSendRate, getStandardDeviationSendDuration, getTimeSinceLastSend, invoke
public 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()