| Modifier and Type | Method and Description |
|---|---|
void |
NotificationFeedManager.deleteFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
Deletes the
feed from the manager store. |
co.cask.cdap.proto.notification.NotificationFeedInfo |
NotificationFeedManager.getFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
Get a
NotificationFeedId based on the feed.getId() method of the feed argument. |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteNotificationFeedManager.deleteFeed(co.cask.cdap.proto.id.NotificationFeedId feed) |
co.cask.cdap.proto.notification.NotificationFeedInfo |
RemoteNotificationFeedManager.getFeed(co.cask.cdap.proto.id.NotificationFeedId feed) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoOpNotificationFeedManager.deleteFeed(co.cask.cdap.proto.id.NotificationFeedId feed) |
co.cask.cdap.proto.notification.NotificationFeedInfo |
NoOpNotificationFeedManager.getFeed(co.cask.cdap.proto.id.NotificationFeedId feed) |
| Modifier and Type | Method and Description |
|---|---|
<N> org.apache.twill.common.Cancellable |
NotificationService.subscribe(co.cask.cdap.proto.id.NotificationFeedId feed,
NotificationHandler<N> handler)
Subscribe to the notification received on the
feed, and handle the notifications with the handler. |
<N> org.apache.twill.common.Cancellable |
NotificationService.subscribe(co.cask.cdap.proto.id.NotificationFeedId feed,
NotificationHandler<N> handler,
Executor executor)
Subscribe to the notification received on the
feed, and handle the notifications with the handler. |
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.