Package org.axonframework.common
Interface Registration
- All Known Implementing Classes:
AxonServerRegistration
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface that provides a mechanism to cancel a registration.
- Since:
- 3.0
- Author:
- Rene de Waele
-
Method Summary
-
Method Details
-
cancel
boolean cancel()Cancels this Registration. If the Registration was already cancelled, no action is taken.- Returns:
trueif this handler is successfully deregistered,falseif this handler was not currently registered.
-