Interface Subscription

All Superinterfaces:
AutoCloseable, Closeable

public interface Subscription extends Closeable
A SubscriptionHandler represents a subscription to an asynchronous event channel.
Since:
1.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unsubscribes this SubscriptionHandler from receiving messages sent to this channel.
    Get the return value associated with establishing this subscription.
    boolean
    Indicates whether this Subscription is currently unsubscribed.