Package org.cdlib.mrt.core
Class PingState
java.lang.Object
org.cdlib.mrt.core.PingState
- All Implemented Interfaces:
Serializable
,StateInf
Return general runtime information about this servlet
- Author:
- dloy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
Get locally set property valuesGet locally set statistic values in Tallylong
long
long
long
void
set
(boolean doGC) Set system values in ping response
-
Field Details
-
tally
-
prop
-
doGC
public boolean doGC
-
-
Constructor Details
-
PingState
Initialize Ping state- Parameters:
doGC
- true=garbage collect; false=no garbage collect- Throws:
TException
-
PingState
- Throws:
TException
-
-
Method Details
-
set
Set system values in ping response- Parameters:
doGC
- true=garbage collect; false=no garbage collect- Throws:
TException
-
bumpCmd
-
getLocalStatistics
Get locally set statistic values in Tally- Returns:
- statistic values
-
getLocalProperties
Get locally set property values- Returns:
- local property values
-
getFreeMemory
public long getFreeMemory() -
getMaxMemory
public long getMaxMemory() -
getTotalMemory
public long getTotalMemory() -
getThreadCnt
public long getThreadCnt() -
getPeakThreadCnt
public long getPeakThreadCnt() -
getDateTime
-
getServiceName
-