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