Class NotificationStore

java.lang.Object
org.jolokia.service.notif.pull.NotificationStore

public class NotificationStore extends Object
Store for a single subscription. It holds the notifications collected and also a counter for dropped notifications.
Since:
21.03.13
Author:
roland
  • 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