Class Subscriptions
- All Implemented Interfaces:
AutoCloseable
Owns a collection of registrations and releases them together.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Subscription>
Tadd(T subscription) voidclose()booleanremove(Subscription subscription)
-
Constructor Details
-
Subscriptions
public Subscriptions()
-
-
Method Details
-
add
-
remove
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-