Package org.jolokia.service.notif.pull
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jolokia.server.core.service.notification.NotificationResultpull(String pClientId, String pHandle)JMX exposed method for pulling out notifications.
-
-
-
Method Detail
-
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:
pullin interfacePullNotificationStoreMBean- Parameters:
pClientId- client idpHandle- the subscription handle- Returns:
- notifications stored for the client or null if no notification are stored currently.
-
-