
com.wavefront.agent.channel.NoopHealthCheckManager 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 javax.annotation.Nonnull;
/**
* A no-op health check manager.
*
* @author [email protected].
*/
public class NoopHealthCheckManager implements HealthCheckManager {
@Override
public HttpResponse getHealthCheckResponse(
ChannelHandlerContext ctx, @Nonnull FullHttpRequest request) {
return null;
}
@Override
public boolean isHealthy(int port) {
return true;
}
@Override
public void setHealthy(int port) {}
@Override
public void setUnhealthy(int port) {}
@Override
public void setAllHealthy() {}
@Override
public void setAllUnhealthy() {}
@Override
public void enableHealthcheck(int port) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy