public class HealthCheckModule extends NetModule
NetModule.ConnectionHandler, NetModule.HTTPServerThread
DEFAULT_ERRORS, PARAM_ADDRESS, PARAM_ERROR_DIRECTORY, PARAM_ERRORS, PARAM_PORT, PARAM_PROTOCOL, PARAM_SSL_KEYSTORE, PARAM_SSL_KEYSTORE_PASSWORD, PARAM_SSL_PROTOCOL
Constructor and Description |
---|
HealthCheckModule() |
Modifier and Type | Method and Description |
---|---|
protected NetModuleHandler |
getHandler() |
boolean |
healthcheck(List<String> failures)
When invoked, the module must run a self check to verify it is functioning correctly.
|
doStart, doStop, handleError, init
canHandle, forceStop, handle, isRunning, start, stop, toString
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isRunning, start, stop
canHandle, handle
destroy, getName, getParameters, getSession
protected NetModuleHandler getHandler()
getHandler
in class NetModule
public boolean healthcheck(List<String> failures)
ActiveModule
healthcheck
in interface ActiveModule
healthcheck
in class NetModule
failures
- - a list of failures if any occurCopyright © 2018. All rights reserved.