Interface Topic.Subscription

All Superinterfaces:
AutoCloseable
Enclosing interface:
Topic<T>

public static interface Topic.Subscription extends AutoCloseable
Represents a subscription. LazyValue close() has been invoked the associated Consumer will no longer receive any further calls to to its Consumer.accept(Object) method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    For the sake of convenience, this omits the Exception specification.
  • Method Details

    • close

      void close()
      For the sake of convenience, this omits the Exception specification.
      Specified by:
      close in interface AutoCloseable