|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.monitoring.MonitoringServiceImpl
@ManagedResource(objectName="bean:name=BPSSMonitor",
description="Monitor acknowledgements and push stats",
log=false,
persistPolicy="Never")
public class MonitoringServiceImpl
Implementation of the MonitoringService interface.
| Constructor Summary | |
|---|---|
MonitoringServiceImpl()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitoringServiceImpl()
| Method Detail |
|---|
public void setNotificationProcessorService(NotificationProcessorService notificationProcessorService)
MonitoringService
setNotificationProcessorService in interface MonitoringServicenotificationProcessorService - an instance of a NotificationProcessorService implementation (must be thread safe)public void setNotificationListenerService(NotificationListenerService notificationListenerService)
MonitoringService
setNotificationListenerService in interface MonitoringServicenotificationListenerService - an instance of a NotificationListenerService implementation (must be thread safe)public void setPushStatsBatchUpdaterService(PushStatsBatchUpdaterService pushStatsBatchUpdaterService)
MonitoringService
setPushStatsBatchUpdaterService in interface MonitoringServicepushStatsBatchUpdaterService - the Push Stats Batch Updater Service@ManagedAttribute(description="Active Thread Count for the Notification Listener Service") public int getNotificationListenerActiveThreadCount()
MonitoringService
getNotificationListenerActiveThreadCount in interface MonitoringService@ManagedAttribute(description="Thread Pool Size for the Notification Listener Service") public int getNotificationListenerThreadPoolSize()
MonitoringService
getNotificationListenerThreadPoolSize in interface MonitoringService@ManagedAttribute(description="Work Queue Size for the Notification Listener Service") public int getNotificationListenerWorkQueueSize()
MonitoringService
getNotificationListenerWorkQueueSize in interface MonitoringService@ManagedAttribute(description="Active Thread Count for the Notification Processor Service") public int getNotificationProcessorActiveThreadCount()
MonitoringService
getNotificationProcessorActiveThreadCount in interface MonitoringService@ManagedAttribute(description="Notifications Queue Size for the Notification Processor Service") public int getNotificationProcessorQueueSize()
MonitoringService
getNotificationProcessorQueueSize in interface MonitoringService@ManagedAttribute(description="Thread Pool Size for the Notification Processor Service") public int getNotificationProcessorThreadPoolSize()
MonitoringService
getNotificationProcessorThreadPoolSize in interface MonitoringService@ManagedAttribute(description="Work Queue Size for the Notification Processor Service") public int getNotificationProcessorWorkQueueSize()
MonitoringService
getNotificationProcessorWorkQueueSize in interface MonitoringService@ManagedAttribute(description="Queue Size for push stats ready to be batched and persisted") public int getPushStatsQueueSize()
MonitoringService
getPushStatsQueueSize in interface MonitoringService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||