Interface Subscription

  • public interface Subscription
    Subscription defines a marker interface for an event subscription. An implementation will likely keep information in this object about the last consumed events and other implementation specific data. A client will usually first create an event filter and then a subscription based on the filter. Events can then be retrieved by calling RepositoryService.getEvents(Subscription, long). If a subscription is no longer needed a client should call RepositoryService.dispose(Subscription).