Package titan.balancer
Interface IngressAdapter
- All Known Implementing Classes:
NginxAdapter
public interface IngressAdapter
-
Method Summary
Modifier and TypeMethodDescriptionvoidFlushes the current state to the Load Balancer and triggers a hot-reload.voiddeRegisterService(String serviceName, String workerIp, int port) Called by the Master when a worker crashes or a service is scaled down.voidregisterService(String serviceName, String workerIp, int port) Called by the Master when a worker successfully starts a long-running service.
-
Method Details
-
registerService
Called by the Master when a worker successfully starts a long-running service. -
deRegisterService
Called by the Master when a worker crashes or a service is scaled down. -
applyRoutingConfig
void applyRoutingConfig()Flushes the current state to the Load Balancer and triggers a hot-reload. -
getActiveRoutes
-