Search in sources :

Example 1 with JavaStatsRequestProcessor

use of com.linkedin.databus2.core.container.request.JavaStatsRequestProcessor 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()));
}
Also used : ContainerStatsRequestProcessor(com.linkedin.databus2.core.container.request.ContainerStatsRequestProcessor) JavaStatsRequestProcessor(com.linkedin.databus2.core.container.request.JavaStatsRequestProcessor) ContainerAdminRequestProcessor(com.linkedin.databus2.core.container.request.ContainerAdminRequestProcessor)

Aggregations

ContainerAdminRequestProcessor (com.linkedin.databus2.core.container.request.ContainerAdminRequestProcessor)1 ContainerStatsRequestProcessor (com.linkedin.databus2.core.container.request.ContainerStatsRequestProcessor)1 JavaStatsRequestProcessor (com.linkedin.databus2.core.container.request.JavaStatsRequestProcessor)1