public class MongoNotificationHandler
extends java.lang.Object
implements rapture.notification.INotificationHandler
| Constructor and Description |
|---|
MongoNotificationHandler() |
| Modifier and Type | Method and Description |
|---|---|
rapture.common.NotificationResult |
findNotificationsAfterEpoch(rapture.common.CallingContext context,
java.lang.Long lastEpochSeen) |
java.lang.Long |
getLatestNotificationEpoch() |
rapture.common.NotificationInfo |
getNotification(java.lang.String id) |
java.lang.String |
publishNotification(rapture.common.CallingContext context,
java.lang.String referenceId,
java.lang.String content,
java.lang.String contentType) |
void |
setConfig(java.util.Map<java.lang.String,java.lang.String> config) |
public void setConfig(java.util.Map<java.lang.String,java.lang.String> config)
setConfig in interface rapture.notification.INotificationHandlerpublic java.lang.Long getLatestNotificationEpoch()
getLatestNotificationEpoch in interface rapture.notification.INotificationHandlerpublic java.lang.String publishNotification(rapture.common.CallingContext context,
java.lang.String referenceId,
java.lang.String content,
java.lang.String contentType)
publishNotification in interface rapture.notification.INotificationHandlerpublic rapture.common.NotificationResult findNotificationsAfterEpoch(rapture.common.CallingContext context,
java.lang.Long lastEpochSeen)
findNotificationsAfterEpoch in interface rapture.notification.INotificationHandlerpublic rapture.common.NotificationInfo getNotification(java.lang.String id)
getNotification in interface rapture.notification.INotificationHandler