public class InMemoryNotificationService extends AbstractNotificationService
| Constructor and Description |
|---|
InMemoryNotificationService(DatasetFramework dsFramework,
TransactionSystemClientService transactionSystemClient,
NotificationFeedManager feedManager) |
| Modifier and Type | Method and Description |
|---|---|
<N> com.google.common.util.concurrent.ListenableFuture<N> |
publish(Id.NotificationFeed feed,
N notification,
Type notificationType) |
protected void |
shutDown() |
protected void |
startUp() |
createGson, getUncaughtExceptionLogger, notificationReceived, publish, subscribe, subscribeexecutor, newHandleraddListener, isRunning, start, startAndWait, state, stop, stopAndWait, toString@Inject public InMemoryNotificationService(DatasetFramework dsFramework, TransactionSystemClientService transactionSystemClient, NotificationFeedManager feedManager)
protected void startUp()
throws Exception
startUp in class AbstractNotificationServiceExceptionprotected void shutDown()
throws Exception
shutDown in class AbstractNotificationServiceExceptionpublic <N> com.google.common.util.concurrent.ListenableFuture<N> publish(Id.NotificationFeed feed, N notification, Type notificationType) throws NotificationException
NotificationExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.