|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspace.nucleus.MetaEntry
Wraps entry objects with meta-information. Objects of this class are stored in tuple space and manage space ids.
Constructor Summary | |
MetaEntry(space.Entry entry,
space.Transaction txn,
long lease)
Constructor. |
Method Summary | |
space.Entry |
getEntry()
Gets the entry attribute. |
long |
getExpiration()
Get the estimated time when the lease expires. |
long |
getId()
Gets the space id of this entry. |
boolean |
isevictable(long now)
Determines if a meta-entry can be evicted. |
boolean |
isupdated()
Determines if a meta-entry can be evicted. |
void |
updateOccured()
Get the estimated time when the lease expires. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetaEntry(space.Entry entry, space.Transaction txn, long lease)
entry
- Entry to wrap.txn
- Transaction governing this entry.lease
- Maximum lifetime in space.Method Detail |
public space.Entry getEntry()
public boolean isevictable(long now)
now
- Time in millisecs.
public boolean isupdated()
public void updateOccured()
public long getId()
public long getExpiration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |