|
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
public abstract class CacheProvider
A generic cache provider API. Currently only supports global cache but could be extended in the future to provide implementations that are session specific.
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 |
---|
Constructor Summary | |
---|---|
CacheProvider()
|
Method Summary | |
---|---|
static void |
clear()
Clears the cache of all existing objects |
abstract void |
clearCache()
Clears the cache of all existing objects |
static boolean |
containsKey(java.lang.String pKey)
Checks wether an object exists in the cache with the given key |
static java.lang.Object |
get(java.lang.String pKey)
Gets an object from the cache with the given key |
abstract java.util.Set |
getKeys()
Returns keys to all the existing objects in the caches |
abstract java.lang.Object |
getObject(java.lang.String pKey)
Gets an object from the cache with the given key |
abstract boolean |
hasKey(java.lang.String pKey)
Checks wether an object exists in the cache with the given key |
static java.util.Set |
keySet()
Returns keys to all the existing objects in the caches |
static void |
put(java.lang.String pKey,
java.lang.Object pObj)
Puts the given object into the cache with the given key |
abstract void |
putObject(java.lang.String pKey,
java.lang.Object pObj)
Puts the given object into the cache with the given key |
static void |
remove(java.lang.String pKey)
Removes the object with the given key from the cache |
abstract 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.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheProvider()
Method Detail |
---|
public abstract java.lang.Object getObject(java.lang.String pKey)
pKey
- key for the object to lookup from cache
public abstract void putObject(java.lang.String pKey, java.lang.Object pObj)
pKey
- key for the object to put into the cachepObj
- object to put into the cahcepublic abstract void removeObject(java.lang.String pKey)
pKey
- key for the object to remove from the cachepublic abstract java.util.Set getKeys()
public abstract boolean hasKey(java.lang.String pKey)
pKey
- key to check for in the cache
public abstract void clearCache()
public static java.lang.Object get(java.lang.String pKey)
pKey
- key for the object to lookup from cache
public static void put(java.lang.String pKey, java.lang.Object pObj)
pKey
- key for the object to put into the cachepObj
- object to put into the cahcepublic static void remove(java.lang.String pKey)
pKey
- key for the object to remove from the cachepublic static void clear()
public static java.util.Set keySet()
public static boolean containsKey(java.lang.String pKey)
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 |