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