|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--oracle.ias.cache.CacheEvent
CacheEvent represents an internal cache event. It extends java.util.EventObject. If an event happens on a cached object, the source object in CacheEvent is the cached object which relates to the event that just happened. If an event happens on a cache group, the source object in CacheEvent is the group name which relates to the event that just happened. Event id is used to identify different types of events. Application can register a CacheEventListener to handle event. Currently, only the OBJECT_INVALIDATED and OBJECT_UPDATED events are defined.
Field Summary | |
static int |
OBJECT_INVALIDATED Represents the object or group invalidated event. |
static int |
OBJECT_UPDATED Represents the object updated event. |
static int |
OBJECT_UPDATED_SYNC Represents the object updated event. |
Method Summary | |
int |
getId() getId returns the event identifier. |
java.lang.Object |
getName() getName returns the name of the object associated with the event |
java.lang.String |
getRegion() getRegion returns the name of the region associated with the event |
java.lang.Object |
getSource() |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int OBJECT_INVALIDATED
public static final int OBJECT_UPDATED
public static final int OBJECT_UPDATED_SYNC
Method Detail |
public int getId()
public java.lang.Object getName()
public java.lang.Object getSource()
getSource
in class java.util.EventObject
public java.lang.String getRegion()
|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |