public class MemoryMonitorStartupServlet
extends javax.servlet.http.HttpServlet
Init parameters for this servlet are as follows:
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
static java.lang.String |
PUBLIC_HANDLE |
Constructor and Description |
---|
MemoryMonitorStartupServlet() |
Modifier and Type | Method and Description |
---|---|
protected long |
getLowWatermarkMonitorIntervalInMillis() |
protected int |
getMemoryThresholdPct() |
protected int |
getNbrIntervalsBetweenWarnings() |
protected int |
getNbrLowWatermarkIntervals() |
static java.util.Set<javax.servlet.http.HttpServlet> |
getRegisteredServletSet(java.lang.Class klass) |
protected long |
getSleepIntervalMillis() |
boolean |
hasDisplay() |
void |
init() |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final java.lang.String PUBLIC_HANDLE
protected org.slf4j.Logger logger
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
public boolean hasDisplay()
protected long getSleepIntervalMillis()
protected int getMemoryThresholdPct()
protected int getNbrIntervalsBetweenWarnings()
protected int getNbrLowWatermarkIntervals()
protected long getLowWatermarkMonitorIntervalInMillis()
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public static java.util.Set<javax.servlet.http.HttpServlet> getRegisteredServletSet(java.lang.Class klass)
Copyright © 2015 The Admin4J Project. All Rights Reserved.