class CacheEvent
extends java.util.EventObject
ContextCache when certain
internal events occur. This is primarily for debugging purposes so
you can set up a monitor on the cache to see when objects are
accessed/created/removed. oracle.forms.builder.jfapi.ContextCache,
oracle.forms.builder.jfapi.event.CacheListener| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_ADD
Object was added to cache.
|
static int |
CACHE_FIRST |
static int |
CACHE_GET
Object was queried from cache.
|
static int |
CACHE_INVALID
Object was found invalid.
|
static int |
CACHE_LAST |
static int |
CACHE_REMOVE
Object was removed from cache.
|
protected JdapiObject |
m_bfo
Pointer to object in cache.
|
protected int |
m_id
Event id.
|
| Constructor and Description |
|---|
CacheEvent(java.lang.Object source,
int id,
JdapiObject o)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JdapiObject |
getFormsObject()
Get object being manipulated in cache by this event.
|
int |
getId()
Get type of event.
|
public static final int CACHE_FIRST
public static final int CACHE_LAST
public static final int CACHE_ADD
public static final int CACHE_GET
public static final int CACHE_REMOVE
public static final int CACHE_INVALID
protected int m_id
protected JdapiObject m_bfo
public CacheEvent(java.lang.Object source,
int id,
JdapiObject o)
source - Source object of this eventid - Type of evento - Object being manipulated in cachepublic int getId()
public JdapiObject getFormsObject()