kodo.datacache
Class ExpirationEvent
java.lang.Object
|
+--java.util.EventObject
|
+--kodo.datacache.ExpirationEvent
- All Implemented Interfaces:
- Serializable
- public class ExpirationEvent
- extends EventObject
An event indicating the expiration of an object from the data cache,
or an expiration of a result list from the query cache.
The source of the event will be the cache.
- Since:
- 3.0
- See Also:
- Serialized Form
Method Summary |
boolean |
getExpired()
Return whether the expired object was expired naturally, or if
the object was explicitly removed. |
Object |
getKey()
Return the expired object id or query key. |
ExpirationEvent
public ExpirationEvent(Object source,
Object key,
boolean expired)
- Constructor.
- Parameters:
source
- the data or query cachekey
- the expired object oid or query keyexpired
- true
if the object was expired
naturally; else false
.
getKey
public Object getKey()
- Return the expired object id or query key.
getExpired
public boolean getExpired()
- Return whether the expired object was expired naturally, or if
the object was explicitly removed.
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.