|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.persist.cache.CacheEntry
Utility class to store 'data' accessed through Castor JDO in performance caches.
| Constructor Summary | |
CacheEntry(ObjectLock lock)
Construct a CacheEntry from the given ObjectLock. |
|
| Method Summary | |
java.lang.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(java.lang.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheEntry(ObjectLock lock)
lock - The ObjectLock this CacheEntry should be initialized from.| Method Detail |
public OID getOID()
public void setOID(OID oid)
oid - OID of the entry to be cached.public java.lang.Object[] getEntry()
public void setEntry(java.lang.Object[] entry)
entry - Actual data to be cached.public long getTimeStamp()
public void setTimeStamp(long stamp)
stamp - Associated time stamp.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||