|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MonitoringService
Interface for monitoring the queues and threads involved with acknowledgements and push statistics.
| Method Summary | |
|---|---|
int |
getNotificationListenerActiveThreadCount()
Returns the number of threads actively calling notification listeners. |
int |
getNotificationListenerThreadPoolSize()
Returns the number of threads currently in the thread pool (active and idle) for the notification listener service. |
int |
getNotificationListenerWorkQueueSize()
Returns the size of the work queue of the notification listener service which holds tasks (Runnables) waiting to be picked up and processed using an active thread. |
int |
getNotificationProcessorActiveThreadCount()
Returns the number of threads actively processing notifications. |
int |
getNotificationProcessorQueueSize()
Returns the size of the result notification queue. |
int |
getNotificationProcessorThreadPoolSize()
Returns the number of threads currently in the thread pool (active and idle) for the notification processor service. |
int |
getNotificationProcessorWorkQueueSize()
Returns the size of the work queue of the notification processor service which holds tasks (Runnables) waiting to be picked up and processed using an active thread. |
int |
getPushStatsQueueSize()
Returns the size of the queue holding push stats waiting to be batched and processed. |
void |
setNotificationListenerService(NotificationListenerService notificationListenerService)
Support for dependency injection. |
void |
setNotificationProcessorService(NotificationProcessorService notificationProcessorService)
Support for dependency injection. |
void |
setPushStatsBatchUpdaterService(PushStatsBatchUpdaterService pushStatsBatchUpdaterService)
Support for dependency injection. |
| Method Detail |
|---|
int getNotificationProcessorQueueSize()
int getNotificationProcessorActiveThreadCount()
int getNotificationProcessorThreadPoolSize()
int getNotificationProcessorWorkQueueSize()
int getNotificationListenerActiveThreadCount()
int getNotificationListenerThreadPoolSize()
int getNotificationListenerWorkQueueSize()
int getPushStatsQueueSize()
void setNotificationProcessorService(NotificationProcessorService notificationProcessorService)
notificationProcessorService - an instance of a NotificationProcessorService implementation (must be thread safe)void setNotificationListenerService(NotificationListenerService notificationListenerService)
notificationListenerService - an instance of a NotificationListenerService implementation (must be thread safe)void setPushStatsBatchUpdaterService(PushStatsBatchUpdaterService pushStatsBatchUpdaterService)
pushStatsBatchUpdaterService - the Push Stats Batch Updater Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||