Package org.jolokia.service.notif.pull
Class NotificationStore
java.lang.Object
org.jolokia.service.notif.pull.NotificationStore
Store for a single subscription. It holds the notifications collected
and also a counter for dropped notifications.
- Since:
- 21.03.13
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationStore(org.jolokia.server.core.service.notification.NotificationSubscription pSubscription, int pMaxEntries) Create a new notification store for holding concrete notifications which can be fetched (and cleared). -
Method Summary
-
Constructor Details
-
NotificationStore
public NotificationStore(org.jolokia.server.core.service.notification.NotificationSubscription pSubscription, int pMaxEntries) Create a new notification store for holding concrete notifications which can be fetched (and cleared).- Parameters:
pSubscription-pMaxEntries- how many to store maximal. Older entries will be shifted out. The attribute skippedNotification contains the number
-