public class HazelcastNotificationStore extends Object implements NotificationStore
Modifier and Type | Field and Description |
---|---|
static String |
NOTIFICATION_CACHE_NAME |
Constructor and Description |
---|
HazelcastNotificationStore(org.osgi.framework.BundleContext context,
String xmlConfigFilename) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
getNotifications()
Get all notifications for all users.
|
List<Map<String,String>> |
getNotifications(String userId)
Get all notifications for specified user.
|
void |
putNotification(Map<String,String> notification) |
void |
removeNotification(String notificationId,
String userId) |
public static final String NOTIFICATION_CACHE_NAME
public HazelcastNotificationStore(org.osgi.framework.BundleContext context, String xmlConfigFilename)
public void putNotification(Map<String,String> notification)
putNotification
in interface NotificationStore
public void removeNotification(String notificationId, String userId)
removeNotification
in interface NotificationStore
public List<Map<String,String>> getNotifications()
NotificationStore
getNotifications
in interface NotificationStore
public List<Map<String,String>> getNotifications(String userId)
NotificationStore
getNotifications
in interface NotificationStore
This work is licensed under a Creative Commons Attribution 4.0 International License.