|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdevimpl.audit.util.Cache
public class Cache
A convenience wrapper (pun intended, see below) for the DTCache.
| Nested Class Summary | |
|---|---|
static class |
Cache.WrapperWrapper for arbitrary objects stored in the cache. |
| Field Summary | |
|---|---|
static java.lang.String |
PREFIXThe prefix for Audit keys in the design-time cache. |
| Constructor Summary | |
|---|---|
Cache() |
|
| Method Summary | |
|---|---|
static java.lang.Object |
get(java.lang.String key)Gets a value from the design-time cache, or null if none. |
static boolean |
get(java.lang.String key, boolean defaultValue)Gets a boolean value from the design-time cache, or a default value if none. |
static float |
get(java.lang.String key, float defaultValue)Gets a float value from the design-time cache, or a default value if none. |
static int |
get(java.lang.String key, int defaultValue)Gets an int value from the design-time cache, or a default value if none. |
static java.lang.Object |
get(java.lang.String key, java.lang.Object defaultValue)Gets a value from the design-time cache, or a default value if none. |
static void |
put(java.lang.String key, boolean value)Puts a boolean value into the design-time cache. |
static void |
put(java.lang.String key, java.lang.Boolean value)Puts a Boolean value into the design-time cache. |
static void |
put(java.lang.String key, float value)Puts a float value into the design-time cache. |
static void |
put(java.lang.String key, java.lang.Float value)Puts a Float value into the design-time cache. |
static void |
put(java.lang.String key, int value)Puts an int value into the cache. |
static void |
put(java.lang.String key, java.lang.Integer value)Puts an Integer value into the cache. |
static void |
put(java.lang.String key, java.lang.Object value)Puts a value into the design-time cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PREFIX
| Constructor Detail |
|---|
public Cache()
| Method Detail |
|---|
public static void put(java.lang.String key,
java.lang.Object value)
key - The Audit-specific name of the value.value - The Object2Dom compatible value.
public static void put(java.lang.String key,
boolean value)
key - The Audit-specific name of the value.value - The boolean value.
public static void put(java.lang.String key,
java.lang.Boolean value)
key - The Audit-specific name of the value.value - The boolean value.
public static void put(java.lang.String key,
int value)
key - The Audit-specific name of the value.value - The int value.
public static void put(java.lang.String key,
java.lang.Integer value)
key - The Audit-specific name of the value.value - The int value.
public static void put(java.lang.String key,
float value)
key - The Audit-specific name of the value.value - The float value.
public static void put(java.lang.String key,
java.lang.Float value)
key - The Audit-specific name of the value.value - The float value.public static java.lang.Object get(java.lang.String key)
key - The Audit-specific name of the value.
public static java.lang.Object get(java.lang.String key,
java.lang.Object defaultValue)
key - The Audit-specific name of the value.
public static boolean get(java.lang.String key,
boolean defaultValue)
key - The Audit-specific name of the value.defaultValue - The default boolean value to returnjava.lang.ClassCastException - if the value is not null and not Boolean.
public static int get(java.lang.String key,
int defaultValue)
key - The Audit-specific name of the value.defaultValue - The default int value to returnjava.lang.ClassCastException - if the value is not null and not Number.
public static float get(java.lang.String key,
float defaultValue)
key - The Audit-specific name of the value.defaultValue - The default float value to returnjava.lang.ClassCastException - if the value is not null and not Number.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||