org.castor.persist.cache
public final class CacheEntry extends Object implements Serializable
Since: 0.9.9
Version: $Revision: 1.1 $ $Date: 2005/07/27 11:54:21 $
Constructor Summary | |
---|---|
CacheEntry(ObjectLock lock)
Construct a CacheEntry from the given ObjectLock.
|
Method Summary | |
---|---|
Object | getEntry()
Get actual data to be cached.
|
OID | getOID()
Get OID of the entry to be cached.
|
long | getTimeStamp()
Get associated time stamp.
|
void | setEntry(Object entry)
Set actual data to be cached.
|
void | setOID(OID oid)
Set OID of the entry to be cached.
|
void | setTimeStamp(long stamp)
Set associated time stamp.
|
Parameters: lock The ObjectLock this CacheEntry should be initialized from.
Returns: Actual data to be cached.
Returns: OID of the entry to be cached.
Returns: Associated time stamp.
Parameters: entry Actual data to be cached.
Parameters: oid OID of the entry to be cached.
Parameters: stamp Associated time stamp.