Interface Subscription
- All Superinterfaces:
AutoCloseable
A leased event subscription created by
Space.notify(Template, SpaceListener, Lease). Like all shared state, a
subscription vanishes unless renewed; close it to stop delivery immediately.-
Method Summary
-
Method Details
-
renew
Extends the subscription lease by the given duration from now.- Parameters:
extension- how much longer the subscription should live- Throws:
LeaseExpiredException- if the lease already lapsed
-
close
-