Class PullNotificationStore

java.lang.Object
org.jolokia.service.notif.pull.PullNotificationStore
All Implemented Interfaces:
PullNotificationStoreMBean

public class PullNotificationStore extends Object implements PullNotificationStoreMBean
Implementation of store holding notifications which can be pulled via JMX.
Since:
21.03.13
Author:
roland
  • Method Details

    • pull

      public org.jolokia.server.core.service.notification.NotificationResult pull(String pClientId, String pHandle)
      JMX exposed method for pulling out notifications. The list of notifications is cleared afterwards.
      Specified by:
      pull in interface PullNotificationStoreMBean
      Parameters:
      pClientId - client id
      pHandle - the subscription handle
      Returns:
      notifications stored for the client or null if no notification are stored currently.