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.

@FunctionalInterface public interface Registration
Interface that provides a mechanism to cancel a registration.
Since:
3.0
Author:
Rene de Waele
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cancels this Registration.
  • Method Details

    • cancel

      boolean cancel()
      Cancels this Registration. If the Registration was already cancelled, no action is taken.
      Returns:
      true if this handler is successfully deregistered, false if this handler was not currently registered.