public class JvmPauseMonitorService extends Object implements Service
Modifier and Type | Field and Description |
---|---|
static String |
CONF_PREFIX |
static String |
INFO_THRESHOLD_KEY |
static String |
WARN_THRESHOLD_KEY |
DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
JvmPauseMonitorService() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the service.
|
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
void |
init(Services services)
Initialize the service.
|
public static final String CONF_PREFIX
public static final String WARN_THRESHOLD_KEY
public static final String INFO_THRESHOLD_KEY
public JvmPauseMonitorService()
public void init(Services services) throws ServiceException
Service
Invoked by the Service
singleton at start up time.
init
in interface Service
services
- services singleton initializing the service.ServiceException
- thrown if the service could not initialize.public void destroy()
Service
Invoked by the Service
singleton at shutdown time.
public Class<? extends Service> getInterface()
Service
Services are retrieved by its public interface. Specializations of services must return the public interface.
getInterface
in interface Service
Copyright © 2018 Apache Software Foundation. All rights reserved.