public abstract class AbstractRegularSamplingServletContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_SENSOR_INITIAL_DELAY_SECONDS |
static long |
DEFAULT_SENSOR_INTERVAL_SECONDS |
Constructor and Description |
---|
AbstractRegularSamplingServletContextListener()
Empty default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
protected abstract ISampler[] |
createSamplers()
Create samplers for the specific sampling class.
|
protected abstract java.lang.String |
getContextParameterNameSamplingDelaySeconds()
Parameter name for the sampling delay to be used in the web.xml file.
|
protected abstract java.lang.String |
getContextParameterNameSamplingIntervalSeconds()
Parameter name for the sampling interval to be used in the web.xml file.
|
public static final long DEFAULT_SENSOR_INTERVAL_SECONDS
public static final long DEFAULT_SENSOR_INITIAL_DELAY_SECONDS
public AbstractRegularSamplingServletContextListener()
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
protected abstract java.lang.String getContextParameterNameSamplingIntervalSeconds()
protected abstract java.lang.String getContextParameterNameSamplingDelaySeconds()
protected abstract ISampler[] createSamplers()
Copyright 2017 Kieker Project, http://kieker-monitoring.net