@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()
            throws Exception
cancel().
 
 close in interface AutoCloseableExceptionboolean cancel()
true if this handler is successfully unregistered, false if this handler
 was not currently registered.Copyright © 2010–2018. All rights reserved.