|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sap.util.monitor.jarm.ConfMonitor
Class contains constants and configuration parameters used for monitoring. Additionally there are methods to set and get the parameters.
| Field Summary | |
static int |
initMaxCompRet
max. number of components which could be returned for a component overview |
static int |
initMaxUserRet
max. number of user which could be returned for a user overview |
static int |
initNrTops
number of entries in hit lists |
static com.sap.util.monitor.jarm.RmiMonitor |
rmiObject
|
| Constructor Summary | |
ConfMonitor()
|
|
| Method Summary | |
static boolean |
deRegisterDataRecipient(IJarmDataRecipient dataRecip)
deregister data recipient |
static int |
getComponentLevel()
Indicates the component monitor level; this level is used if monitoring is on and tracing is off; if both are switched on the most detailed level defined for monitoring and tracing is used could also be done by getProperties() |
static int |
getComponentTraceLevel()
Indicates the component trace level; this level is used if tracing is on and monitoring is off; if both are switched on the most detailed level defined for monitoring and tracing is used could also be done by getProperties() |
static boolean |
getMonitorSwitch()
Indicates whether monitoring is switched on or off could also be done by getProperties() |
static java.util.Properties |
getProperties()
Delivers the parameters currently valid for monitoring; |
static boolean |
isCpuMeasured()
Indicates whether CPU measurement is done |
static boolean |
registerDataRecipient(IJarmDataRecipient dataRecip)
register data recipient |
static void |
setCompDescription(java.lang.String compName,
java.lang.String compDescr)
Set description for single component (text string); if the description is already set for this component it could not be overwritten |
static void |
setCompProps(java.lang.String compName,
ICompProperties propImpl)
Set implementation for component specific properties; if the properties are already set for this component it could not be overwritten; without an implementation component specific properties are not handled |
static void |
setJ2eeProperties(java.util.Properties props)
Set monitoring parameters; After using this method one time no other methods to set properties are processed |
static void |
setMonitorOff()
Switches monitoring off; is valid for requests which start after this call could also be done by setProperties() |
static void |
setMonitorOn()
Switches monitoring on; is valid for requests which start after this call could also be done by setProperties() |
static void |
setProperties(java.util.Properties props)
Set monitoring parameters; |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int initNrTops
public static int initMaxCompRet
public static int initMaxUserRet
public static com.sap.util.monitor.jarm.RmiMonitor rmiObject
| Constructor Detail |
public ConfMonitor()
| Method Detail |
public static void setMonitorOn()
public static void setMonitorOff()
public static boolean getMonitorSwitch()
public static int getComponentLevel()
public static int getComponentTraceLevel()
public static java.util.Properties getProperties()
public static void setJ2eeProperties(java.util.Properties props)
throws MonitorException
props - properties object containing the key-value pairs
for the parameters; only parameters contained in
the properties object will be changed;MonitorException - thrown if there are wrong parameters used
public static void setProperties(java.util.Properties props)
throws MonitorException
props - properties object containing the key-value pairs
for the parameters; only parameters contained in
the properties object will be changed;MonitorException - thrown if there are wrong parameters used
public static void setCompDescription(java.lang.String compName,
java.lang.String compDescr)
compName - name of the componentcompDescr - description
public static void setCompProps(java.lang.String compName,
ICompProperties propImpl)
compName - name of the componentpropImpl - implementation of component specific propertiespublic static boolean isCpuMeasured()
public static boolean registerDataRecipient(IJarmDataRecipient dataRecip)
dataRecip - recipient for JARM trace datapublic static boolean deRegisterDataRecipient(IJarmDataRecipient dataRecip)
dataRecip - recipient for JARM trace data
|
Copyright @ 2001 SAP. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||