public static class StreamSubscriptionTimeoutSupport.NoopSubscriptionTimeout$ extends java.lang.Object implements Cancellable, scala.Product, scala.Serializable
Subscription timeout which does not start any scheduled events and always returns true
.
This specialized implementation is to be used for "noop" timeout mode.
Modifier and Type | Field and Description |
---|---|
static StreamSubscriptionTimeoutSupport.NoopSubscriptionTimeout$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
NoopSubscriptionTimeout$() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels this Cancellable and returns true if that was successful.
|
boolean |
isCancelled()
Returns true if and only if this Cancellable has been successfully cancelled
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final StreamSubscriptionTimeoutSupport.NoopSubscriptionTimeout$ MODULE$
public boolean cancel()
Cancellable
Java & Scala API
cancel
in interface Cancellable
public boolean isCancelled()
Cancellable
Java & Scala API
isCancelled
in interface Cancellable