|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectoracle.adfmf.framework.api.PerfMon
public class PerfMon
Field Summary | |
---|---|
static long |
IMPORTANT_LEVELS_MASK
|
static long |
INFO_LEVEL_MASK
|
static long |
SEVERE_LEVEL_MASK
|
static long |
WARNING_LEVEL_MASK
|
Constructor Summary | |
---|---|
PerfMon()
|
Method Summary | |
---|---|
oracle.adfmf.framework.ApplicationInformation |
getApplicationInformation()
|
java.io.InputStream |
getApplicationLog()
|
com.sun.util.logging.Level |
getApplicationLogLevel()
|
oracle.adfmf.framework.api.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)
|
com.sun.util.logging.Level |
getFrameworkLogLevel()
|
oracle.adfmf.container.environment.HardwareInformation |
getHardwareInformation()
|
oracle.adfmf.util.HOTS |
getHealthOfTheSystem()
|
oracle.adfmf.framework.api.LogEntry[] |
getImportantLogRecords(long mask)
Get the current set of important log records with the following log levels. |
com.sun.util.logging.Level |
getLogLevel(com.sun.util.logging.Logger logger)
|
oracle.adfmf.framework.api.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(com.sun.util.logging.Level level)
Set the application's logger level. |
void |
setFrameworkLogLevel(com.sun.util.logging.Level level)
Set the framework's logger level. |
void |
setLogLevel(com.sun.util.logging.Logger logger,
com.sun.util.logging.Level level)
Set the application's logger level. |
void |
simulateLowMemoryWarning()
Simulate a low memory warning |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PerfMon()
Method Detail |
---|
public oracle.adfmf.framework.ApplicationInformation getApplicationInformation()
public java.io.InputStream getApplicationLog() throws java.io.IOException
java.io.IOException
public com.sun.util.logging.Level getApplicationLogLevel()
public oracle.adfmf.framework.api.LogEntry[] getApplicationLogRecords(long mask)
mask
- for the levels to fetch
SEVERE_LEVEL_MASK
,
WARNING_LEVEL_MASK
,
INFO_LEVEL_MASK
,
IMPORTANT_LEVELS_MASK
public oracle.adfmf.container.environment.DeviceInformation getDeviceInformation()
public FeatureInformation getFeatureInformation(String fid)
public com.sun.util.logging.Level getFrameworkLogLevel()
public oracle.adfmf.container.environment.HardwareInformation getHardwareInformation()
public oracle.adfmf.util.HOTS getHealthOfTheSystem()
public oracle.adfmf.framework.api.LogEntry[] getImportantLogRecords(long mask)
mask
- for the levels to fetch
SEVERE_LEVEL_MASK
,
WARNING_LEVEL_MASK
,
INFO_LEVEL_MASK
,
IMPORTANT_LEVELS_MASK
public com.sun.util.logging.Level getLogLevel(com.sun.util.logging.Logger logger)
public oracle.adfmf.framework.api.LogEntry[] getLogRecords(boolean onlyApplicationLogs, long mask)
onlyApplicationLogs
- - only return the log recordsmask
- for the levels to fetch
SEVERE_LEVEL_MASK
,
WARNING_LEVEL_MASK
,
INFO_LEVEL_MASK
,
IMPORTANT_LEVELS_MASK
public oracle.adfmf.framework.contract.adf.NameValuePair[] getMonitors()
Exception
public oracle.adfmf.framework.contract.adf.NameValuePair[] getPreferences()
public oracle.adfmf.framework.contract.adf.NameValuePair[] getSystemProperties()
public void invokeGarbageCollection()
public void setApplicationLogLevel(com.sun.util.logging.Level level)
level
- public void setFrameworkLogLevel(com.sun.util.logging.Level level)
level
- public void setLogLevel(com.sun.util.logging.Logger logger, com.sun.util.logging.Level level)
level
- public void simulateLowMemoryWarning()
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |