public class PerfMon
extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static long | IMPORTANT_LEVELS_MASK | 
| static long | INFO_LEVEL_MASK | 
| static long | SEVERE_LEVEL_MASK | 
| static long | WARNING_LEVEL_MASK | 
| Constructor and Description | 
|---|
| PerfMon() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dumpStatistics()Dump the latests performance statistics data to the application log file. | 
| oracle.adfmf.framework.ApplicationInformation | getApplicationInformation() | 
| java.io.InputStream | getApplicationLog() | 
| java.util.logging.Level | getApplicationLogLevel() | 
| LogEntry[] | getApplicationLogRecords(long mask)Get the current set of application log records with the following log levels. | 
| oracle.adfmf.container.environment.DeviceInformation | getDeviceInformation() | 
| FeatureInformation | getFeatureInformation(String fid) | 
| java.util.logging.Level | getFrameworkLogLevel() | 
| oracle.adfmf.container.environment.HardwareInformation | getHardwareInformation() | 
| HOTS | getHealthOfTheSystem() | 
| LogEntry[] | getImportantLogRecords(long mask)Get the current set of important log records with the following log levels. | 
| java.util.logging.Level | getLogLevel(java.util.logging.Logger logger) | 
| LogEntry[] | getLogRecords(boolean onlyApplicationLogs,
             long mask)Get the current set of log entries. | 
| oracle.adfmf.framework.contract.adf.NameValuePair[] | getMonitors()Get the collection of monitors as a collection of name value pairs. | 
| oracle.adfmf.framework.contract.adf.NameValuePair[] | getPreferences() | 
| oracle.adfmf.framework.contract.adf.NameValuePair[] | getSystemProperties() | 
| void | invokeGarbageCollection()force the system garbage collector to run now. | 
| void | setApplicationLogLevel(java.util.logging.Level level)Set the application's logger level. | 
| void | setFrameworkLogLevel(java.util.logging.Level level)Set the framework's logger level. | 
| void | setLogLevel(java.util.logging.Logger logger,
           java.util.logging.Level level)Set the application's logger level. | 
| void | setPerformanceMonitorCapturedLogLevel(java.util.logging.Level level) | 
| void | setPerformanceMonitorObservationsReportedLogLevel(java.util.logging.Level level) | 
| void | setPerformanceMonitorReportedLogLevel(java.util.logging.Level level) | 
| void | simulateLowMemoryWarning()Simulate a low memory warning | 
public static final long SEVERE_LEVEL_MASK
public static final long WARNING_LEVEL_MASK
public static final long INFO_LEVEL_MASK
public static final long IMPORTANT_LEVELS_MASK
public oracle.adfmf.framework.ApplicationInformation getApplicationInformation()
public java.io.InputStream getApplicationLog()
                                      throws java.io.IOException
java.io.IOExceptionpublic java.util.logging.Level getApplicationLogLevel()
public LogEntry[] getApplicationLogRecords(long mask)
mask - for the levels to fetchSEVERE_LEVEL_MASK, 
WARNING_LEVEL_MASK, 
INFO_LEVEL_MASK, 
IMPORTANT_LEVELS_MASKpublic oracle.adfmf.container.environment.DeviceInformation getDeviceInformation()
public FeatureInformation getFeatureInformation(String fid)
public java.util.logging.Level getFrameworkLogLevel()
public oracle.adfmf.container.environment.HardwareInformation getHardwareInformation()
public HOTS getHealthOfTheSystem()
public LogEntry[] getImportantLogRecords(long mask)
mask - for the levels to fetchSEVERE_LEVEL_MASK, 
WARNING_LEVEL_MASK, 
INFO_LEVEL_MASK, 
IMPORTANT_LEVELS_MASKpublic java.util.logging.Level getLogLevel(java.util.logging.Logger logger)
public LogEntry[] getLogRecords(boolean onlyApplicationLogs, long mask)
onlyApplicationLogs - - only return the log recordsmask - for the levels to fetchSEVERE_LEVEL_MASK, 
WARNING_LEVEL_MASK, 
INFO_LEVEL_MASK, 
IMPORTANT_LEVELS_MASKpublic oracle.adfmf.framework.contract.adf.NameValuePair[] getMonitors()
Exceptionpublic void dumpStatistics()
public oracle.adfmf.framework.contract.adf.NameValuePair[] getPreferences()
public oracle.adfmf.framework.contract.adf.NameValuePair[] getSystemProperties()
public void invokeGarbageCollection()
public void setApplicationLogLevel(java.util.logging.Level level)
level - public void setFrameworkLogLevel(java.util.logging.Level level)
level - public void setPerformanceMonitorObservationsReportedLogLevel(java.util.logging.Level level)
public void setPerformanceMonitorCapturedLogLevel(java.util.logging.Level level)
public void setPerformanceMonitorReportedLogLevel(java.util.logging.Level level)
public void setLogLevel(java.util.logging.Logger logger,
                        java.util.logging.Level level)
level - public void simulateLowMemoryWarning()