public class AxonServerRegistration extends Object implements Registration
| Constructor and Description |
|---|
AxonServerRegistration(Registration wrappedRegistration,
Runnable closeCallback) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels this Registration.
|
void |
close()
Cancels this Registration.
|
public AxonServerRegistration(Registration wrappedRegistration, Runnable closeCallback)
public void close()
RegistrationRegistration.cancel().
close in interface AutoCloseableclose in interface Registrationpublic boolean cancel()
Registrationcancel in interface Registrationtrue if this handler is successfully unregistered, false if this handler
was not currently registered.Copyright © 2010–2018. All rights reserved.