X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=dom%2Fmdsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fdom%2Fapi%2FDOMNotificationPublishService.java;h=f6dcf4789010ab1792b5844cced59b757bbf8b8d;hb=7909da61772157584348aabc15a2cf4aa8aa78e9;hp=03332d4837a6c70023b161baf4b76326643ab86e;hpb=43e28da95d3511cf73882c16368c88295df7d35d;p=mdsal.git
diff --git a/dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMNotificationPublishService.java b/dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMNotificationPublishService.java
index 03332d4837..f6dcf47890 100644
--- a/dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMNotificationPublishService.java
+++ b/dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMNotificationPublishService.java
@@ -7,53 +7,49 @@
*/
package org.opendaylight.mdsal.dom.api;
-import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.concurrent.TimeUnit;
-import javax.annotation.Nonnegative;
-import javax.annotation.Nonnull;
+import org.checkerframework.checker.index.qual.NonNegative;
+import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.yangtools.util.concurrent.FluentFutures;
/**
- * A {@link DOMService} which allows its user to send {@link DOMNotification}s. It
- * provides two styles of initiating the notification delivery, similar to
- * {@link java.util.concurrent.BlockingQueue}:
- * - a put-style method which waits until the implementation can accept the notification
- * for delivery, and
- * - an offer-style method, which attempts to enqueue the notification, but allows
- * the caller to specify that it should never wait, or put an upper bound on how
- * long it is going to wait.
+ * A {@link DOMService} which allows its user to publish top-level (YANG 1.0) {@link DOMNotification}s. It provides two
+ * styles of initiating the notification delivery, similar to {@link java.util.concurrent.BlockingQueue}:
+ *
+ *
a put-style method which waits until the implementation can accept the notification for delivery, and
+ *
an offer-style method, which attempts to enqueue the notification, but allows the caller to specify that it
+ * should never wait, or put an upper bound on how long it is going to wait
+ *
*/
public interface DOMNotificationPublishService extends DOMService {
/**
* Well-known value indicating that the implementation is currently not
* able to accept a notification.
*/
- ListenableFuture