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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
register()
Register the instance with the service discovery system.void
unregister()
Unregister the instance from the service discovery system.
-