public class SensorTable
extends java.lang.Object
Constructor and Description |
---|
SensorTable() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanupAppSensors(java.lang.String appId)
Removes and resets all sensors in the current application.
|
static void |
cleanupSensors(java.lang.ClassLoader clsLoader)
Deprecated.
|
static void |
destroyAppSensors(java.lang.String appId)
Destroys all sensors in the current application.
|
static ADFPerfSensor |
getSensor(java.lang.String name)
Retrieves a sensor with the specified name from the current application scope.
|
static ADFPerfSensor |
putSensor(java.lang.String name,
ADFPerfSensor sensor)
Store the sensor under the specified name in the current application scope.
|
static void |
setAppIdTL(java.lang.String appId) |
public static ADFPerfSensor putSensor(java.lang.String name, ADFPerfSensor sensor)
name
- Sensor namesensor
- the ADFPerfSensor objectpublic static ADFPerfSensor getSensor(java.lang.String name)
name
- sensor name@Deprecated public static void cleanupSensors(java.lang.ClassLoader clsLoader)
public static void cleanupAppSensors(java.lang.String appId)
appId
- equivalent of jrf Application::getApplicationIdpublic static void destroyAppSensors(java.lang.String appId)
appId
- equivalent of jrf Application::getApplicationIdpublic static void setAppIdTL(java.lang.String appId)