public class InMemoryNotificationFeedStore extends Object implements NotificationFeedStore
NotificationFeedStore that keeps the feeds in memory.| Constructor and Description |
|---|
InMemoryNotificationFeedStore() |
| Modifier and Type | Method and Description |
|---|---|
Id.NotificationFeed |
createNotificationFeed(Id.NotificationFeed feed) |
Id.NotificationFeed |
deleteNotificationFeed(Id.NotificationFeed feed) |
Id.NotificationFeed |
getNotificationFeed(Id.NotificationFeed feed) |
List<Id.NotificationFeed> |
listNotificationFeeds(Id.Namespace namespace) |
@Nullable public Id.NotificationFeed createNotificationFeed(Id.NotificationFeed feed)
createNotificationFeed in interface NotificationFeedStore@Nullable public Id.NotificationFeed getNotificationFeed(Id.NotificationFeed feed)
getNotificationFeed in interface NotificationFeedStore@Nullable public Id.NotificationFeed deleteNotificationFeed(Id.NotificationFeed feed)
deleteNotificationFeed in interface NotificationFeedStorepublic List<Id.NotificationFeed> listNotificationFeeds(Id.Namespace namespace)
listNotificationFeeds in interface NotificationFeedStoreCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.