SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

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. The source of the event will be the data cache.

Since:
3.0
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExpirationEvent(DataCache source, Object oid, boolean expired)
          Constructor.
 
Method Summary
 boolean getExpired()
          Return whether the expired object was expired naturally, or if the object was explicitly removed.
 Object getObjectId()
          Return the expired object id.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpirationEvent

public ExpirationEvent(DataCache source,
                       Object oid,
                       boolean expired)
Constructor.
Parameters:
source - the event source
oid - the expired object oid
expired - true if the object was expired naturally; else false.
Method Detail

getObjectId

public Object getObjectId()
Return the expired object id.

getExpired

public boolean getExpired()
Return whether the expired object was expired naturally, or if the object was explicitly removed.

SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.