|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.cache.CacheProvider oracle.apps.fnd.appltest.diagfwk.engine.provider.cache.DefaultGlobalCacheProvider
public class DefaultGlobalCacheProvider
Default implementation of the cache provider APIs. Provides a global cache that is JVM wide.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Method Summary | |
---|---|
void |
clearCache()
Clears the cache of all existing objects |
java.util.Set |
getKeys()
Returns keys to all the existing objects in the caches |
java.lang.Object |
getObject(java.lang.String pKey)
Gets an object from the cache with the given key |
boolean |
hasKey(java.lang.String pKey)
Checks wether an object exists in the cache with the given key |
void |
putObject(java.lang.String pKey,
java.lang.Object pObj)
Puts the given object into the cache with the given key |
void |
removeObject(java.lang.String pKey)
Removes the object with the given key from the cache |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.provider.cache.CacheProvider |
---|
clear, containsKey, get, keySet, put, remove |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object getObject(java.lang.String pKey)
CacheProvider
getObject
in class CacheProvider
pKey
- key for the object to lookup from cache
public void putObject(java.lang.String pKey, java.lang.Object pObj)
CacheProvider
putObject
in class CacheProvider
pKey
- key for the object to put into the cachepObj
- object to put into the cahcepublic void removeObject(java.lang.String pKey)
CacheProvider
removeObject
in class CacheProvider
pKey
- key for the object to remove from the cachepublic void clearCache()
CacheProvider
clearCache
in class CacheProvider
public java.util.Set getKeys()
CacheProvider
getKeys
in class CacheProvider
public boolean hasKey(java.lang.String pKey)
CacheProvider
hasKey
in class CacheProvider
pKey
- key to check for in the cache
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |