Interface SubscribableChannelManagement
- All Known Implementing Classes:
AbstractExecutorChannel
,AbstractSubscribableChannel
,DirectChannel
,ExecutorChannel
,PublishSubscribeChannel
public interface SubscribableChannelManagement
Metrics for subscribable channels.
- Since:
- 4.3.6
- Author:
- Gary Russell
-
Method Summary
Modifier and Type Method Description int
getSubscriberCount()
The number of message handlers currently subscribed to this channel.
-
Method Details
-
getSubscriberCount
@ManagedMetric(metricType=COUNTER, displayName="MessageChannel Subscriber Count") int getSubscriberCount()The number of message handlers currently subscribed to this channel.- Returns:
- the number of subscribers.
-