public interface Subscription extends Terminable
EMPTY| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Closes this resource.
|
long |
getCallCounter()
Gets the number of times the handler has been called
|
Collection<Object> |
getFunctions()
Deprecated.
not API, subject to change or removal
|
boolean |
isActive()
Gets whether the handler is active
|
boolean |
unregister()
Unregisters the handler
|
bindWith, closeAndReportException, closeSilently, isClosedboolean isActive()
long getCallCounter()
boolean unregister()
default void close()
Terminableclose in interface AutoCloseableclose in interface Terminable@Deprecated Collection<Object> getFunctions()
Copyright © 2022. All rights reserved.