Interface PullNotificationStoreMBean

  • All Known Implementing Classes:
    PullNotificationStore

    public interface PullNotificationStoreMBean
    MBean for accessing pull requests.
    Since:
    21.03.13
    Author:
    roland
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.jolokia.server.core.service.notification.NotificationResult pull​(String pClientId, String pHandle)
      Get notification for client and a certain subscription.
    • Method Detail

      • pull

        org.jolokia.server.core.service.notification.NotificationResult pull​(String pClientId,
                                                                             String pHandle)
        Get notification for client and a certain subscription. This will also clear out the notification store. The list returned contains the notifications ordered by sequence number (lower sequence numbers first).
        Parameters:
        pClientId - client id
        pHandle - the subscription handle
        Returns:
        list of stored notifications or an empty list if there are no notifications.