use of com.linkedin.databus2.core.container.request.ContainerAdminRequestProcessor in project databus by linkedin.
the class JmxShutdownThread method initializeContainerCommandProcessors.
protected void initializeContainerCommandProcessors() throws DatabusException {
_processorRegistry.register(ContainerStatsRequestProcessor.COMMAND_NAME, new ContainerStatsRequestProcessor(null, this));
_processorRegistry.register(JavaStatsRequestProcessor.COMMAND_NAME, new JavaStatsRequestProcessor(null));
String healthcheckPrefix = ContainerAdminRequestProcessor.extractCommandRoot(_containerStaticConfig.getHealthcheckPath());
LOG.info("healthcheck command root: " + healthcheckPrefix);
_processorRegistry.register(healthcheckPrefix, new ContainerAdminRequestProcessor(null, _componentStatus, _containerStaticConfig.getHealthcheckPath()));
}
Aggregations