public interface Subscription extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Unsubscribes this
SubscriptionHandler from receiving messages
sent to this channel. |
Object |
getReturnValue()
Get the return value associated with establishing this subscription.
|
boolean |
isUnsubscribed()
Indicates whether this
Subscription is currently unsubscribed. |
void close()
SubscriptionHandler from receiving messages
sent to this channel.close in interface AutoCloseableclose in interface CloseableConnectorEventSubscriptionApiOp.subscribe(ObjectClass,
Filter, Observer, OperationOptions),
SyncEventSubscriptionApiOp.subscribe(ObjectClass,
SyncToken, Observer, OperationOptions)boolean isUnsubscribed()
Subscription is currently unsubscribed.true if this Subscription is currently
unsubscribed, false otherwiseObject getReturnValue()
Copyright © 2018–2025. All rights reserved.