Package psiprobe.model
Class ServletInfo
- java.lang.Object
-
- psiprobe.model.ServletInfo
-
public class ServletInfo extends Object
A model class representing a servlet.
-
-
Field Summary
Fields Modifier and Type Field Description private int
allocationCount
The allocation count.private String
applicationName
The application name.private boolean
available
The available.private int
errorCount
The error count.private int
loadOnStartup
The load on startup.private long
loadTime
The load time.private List<String>
mappings
The mappings.private int
maxInstances
The max instances.private long
maxTime
The max time.private long
minTime
The min time.private long
processingTime
The processing time.private int
requestCount
The request count.private String
runAs
The run as.private String
servletClass
The servlet class.private String
servletName
The servlet name.private boolean
singleThreaded
The single threaded.
-
Constructor Summary
Constructors Constructor Description ServletInfo()
ServletInfo Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAllocationCount()
Gets the allocation count.String
getApplicationName()
Gets the application name.int
getErrorCount()
Gets the error count.int
getLoadOnStartup()
Gets the load on startup.long
getLoadTime()
Gets the load time.List<String>
getMappings()
Gets the mappings.int
getMaxInstances()
Gets the max instances.long
getMaxTime()
Gets the max time.long
getMinTime()
Gets the min time.long
getProcessingTime()
Gets the processing time.int
getRequestCount()
Gets the request count.String
getRunAs()
Gets the run as.String
getServletClass()
Gets the servlet class.String
getServletName()
Gets the servlet name.boolean
isAvailable()
Checks if is available.boolean
isSingleThreaded()
Checks if is single threaded.void
setAllocationCount(int allocationCount)
Sets the allocation count.void
setApplicationName(String applicationName)
Sets the application name.void
setAvailable(boolean available)
Sets the available.void
setErrorCount(int errorCount)
Sets the error count.void
setLoadOnStartup(int loadOnStartup)
Sets the load on startup.void
setLoadTime(long loadTime)
Sets the load time.void
setMappings(List<String> mappings)
Sets the mappings.void
setMaxInstances(int maxInstances)
Sets the max instances.void
setMaxTime(long maxTime)
Sets the max time.void
setMinTime(long minTime)
Sets the min time.void
setProcessingTime(long processingTime)
Sets the processing time.void
setRequestCount(int requestCount)
Sets the request count.void
setRunAs(String runAs)
Sets the run as.void
setServletClass(String servletClass)
Sets the servlet class.void
setServletName(String servletName)
Sets the servlet name.void
setSingleThreaded(boolean singleThreaded)
Sets the single threaded.
-
-
-
Field Detail
-
applicationName
private String applicationName
The application name.
-
servletName
private String servletName
The servlet name.
-
servletClass
private String servletClass
The servlet class.
-
available
private boolean available
The available.
-
loadOnStartup
private int loadOnStartup
The load on startup.
-
runAs
private String runAs
The run as.
-
errorCount
private int errorCount
The error count.
-
loadTime
private long loadTime
The load time.
-
maxTime
private long maxTime
The max time.
-
minTime
private long minTime
The min time.
-
processingTime
private long processingTime
The processing time.
-
requestCount
private int requestCount
The request count.
-
singleThreaded
private boolean singleThreaded
The single threaded.
-
allocationCount
private int allocationCount
The allocation count.
-
maxInstances
private int maxInstances
The max instances.
-
-
Method Detail
-
getApplicationName
public String getApplicationName()
Gets the application name.- Returns:
- the application name
-
setApplicationName
public void setApplicationName(String applicationName)
Sets the application name.- Parameters:
applicationName
- the new application name
-
getServletName
public String getServletName()
Gets the servlet name.- Returns:
- the servlet name
-
setServletName
public void setServletName(String servletName)
Sets the servlet name.- Parameters:
servletName
- the new servlet name
-
getServletClass
public String getServletClass()
Gets the servlet class.- Returns:
- the servlet class
-
setServletClass
public void setServletClass(String servletClass)
Sets the servlet class.- Parameters:
servletClass
- the new servlet class
-
isAvailable
public boolean isAvailable()
Checks if is available.- Returns:
- true, if is available
-
setAvailable
public void setAvailable(boolean available)
Sets the available.- Parameters:
available
- the new available
-
getLoadOnStartup
public int getLoadOnStartup()
Gets the load on startup.- Returns:
- the load on startup
-
setLoadOnStartup
public void setLoadOnStartup(int loadOnStartup)
Sets the load on startup.- Parameters:
loadOnStartup
- the new load on startup
-
getRunAs
public String getRunAs()
Gets the run as.- Returns:
- the run as
-
setRunAs
public void setRunAs(String runAs)
Sets the run as.- Parameters:
runAs
- the new run as
-
getErrorCount
public int getErrorCount()
Gets the error count.- Returns:
- the error count
-
setErrorCount
public void setErrorCount(int errorCount)
Sets the error count.- Parameters:
errorCount
- the new error count
-
getLoadTime
public long getLoadTime()
Gets the load time.- Returns:
- the load time
-
setLoadTime
public void setLoadTime(long loadTime)
Sets the load time.- Parameters:
loadTime
- the new load time
-
getMaxTime
public long getMaxTime()
Gets the max time.- Returns:
- the max time
-
setMaxTime
public void setMaxTime(long maxTime)
Sets the max time.- Parameters:
maxTime
- the new max time
-
getMinTime
public long getMinTime()
Gets the min time.- Returns:
- the min time
-
setMinTime
public void setMinTime(long minTime)
Sets the min time.- Parameters:
minTime
- the new min time
-
getProcessingTime
public long getProcessingTime()
Gets the processing time.- Returns:
- the processing time
-
setProcessingTime
public void setProcessingTime(long processingTime)
Sets the processing time.- Parameters:
processingTime
- the new processing time
-
getRequestCount
public int getRequestCount()
Gets the request count.- Returns:
- the request count
-
setRequestCount
public void setRequestCount(int requestCount)
Sets the request count.- Parameters:
requestCount
- the new request count
-
isSingleThreaded
public boolean isSingleThreaded()
Checks if is single threaded.- Returns:
- true, if is single threaded
-
setSingleThreaded
public void setSingleThreaded(boolean singleThreaded)
Sets the single threaded.- Parameters:
singleThreaded
- the new single threaded
-
getAllocationCount
public int getAllocationCount()
Gets the allocation count.- Returns:
- the allocation count
-
setAllocationCount
public void setAllocationCount(int allocationCount)
Sets the allocation count.- Parameters:
allocationCount
- the new allocation count
-
getMaxInstances
public int getMaxInstances()
Gets the max instances.- Returns:
- the max instances
-
setMaxInstances
public void setMaxInstances(int maxInstances)
Sets the max instances.- Parameters:
maxInstances
- the new max instances
-
-