Interface ServiceDiscoveryAnnouncer

  • All Known Implementing Classes:
    AsyncRetryingServiceDiscoveryAnnouncer, D2Server

    public interface ServiceDiscoveryAnnouncer
    This interface is used to announce the service to a Service Discovery system on startup and de-announce the service on graceful shutdown. The Service Discovery system should gracefully handle de-announcing in case of crash-failures.
    • Method Detail

      • register

        void register()
        Register the instance with the service discovery system.
      • unregister

        void unregister()
        Unregister the instance from the service discovery system.