org.castor.persist.cache
public final class CacheEntry extends Object implements Serializable
Since: 0.9.9
Version: $Revision: 5980 $ $Date: 2005-12-01 14:45:18 -0700 (Thu, 01 Dec 2005) $
| 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.