@FunctionalInterface public interface Registration extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels this Registration.
|
default void |
close()
Cancels this Registration.
|
default void close()
cancel().
close in interface AutoCloseableboolean cancel()
true if this handler is successfully deregistered, false if this handler
was not currently registered.Copyright © 2010–2023. All rights reserved.