Class ExpirationEvent
java.lang.Object
java.util.EventObject
org.apache.openjpa.datacache.ExpirationEvent
- All Implemented Interfaces:
Serializable
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:
- 0.3.0
- Author:
- Abe White
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether the expired object was expired naturally, or if the object was explicitly removed.getKey()Return the expired object id or query key.Methods inherited from class EventObject
getSource, toString
-
Constructor Details
-
ExpirationEvent
-
-
Method Details
-
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.
-