Class EurekaUpdatingListener

java.lang.Object
com.linecorp.armeria.server.ServerListenerAdapter
com.linecorp.armeria.server.eureka.EurekaUpdatingListener
All Implemented Interfaces:
ServerListener

public final class EurekaUpdatingListener
extends ServerListenerAdapter
A ServerListener which registers the current Server to Eureka. EurekaUpdatingListener sends renewal requests periodically so that the Server is not removed from the registry. When the Server stops, EurekaUpdatingListener deregisters the Server from Eureka by sending a cancellation request.