
com.wavefront.agent.channel.HealthCheckManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.HttpResponse;
import java.net.URISyntaxException;
import javax.annotation.Nonnull;
/**
* Centrally manages healthcheck statuses (for controlling load balancers).
*
* @author [email protected]
*/
public interface HealthCheckManager {
HttpResponse getHealthCheckResponse(ChannelHandlerContext ctx, @Nonnull FullHttpRequest request)
throws URISyntaxException;
boolean isHealthy(int port);
void setHealthy(int port);
void setUnhealthy(int port);
void setAllHealthy();
void setAllUnhealthy();
void enableHealthcheck(int port);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy