|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tranql.field.Row
org.tranql.cache.CacheRow
The representation of a data set in the cache.
Field Summary | |
static java.lang.Object |
NO_DATA
A place holder indicating that the specified slot in the cache line has not been loaded. |
static java.lang.Object |
SET_VALUE
A place holder indicating that the specified slot in the cache line should contain a Set to hold references to other rows. |
Fields inherited from class org.tranql.field.Row |
values |
Constructor Summary | |
CacheRow(java.lang.Object[] defaults)
Constructor used during creation of an instance. |
Method Summary | |
GlobalIdentity |
getId()
Return the identity of this row. |
CacheRowState |
getState()
Return the state if this row. |
boolean |
isLoaded(int slot)
|
boolean |
isModified(int slot)
Test if a slot has been modified. |
void |
markClean()
Indicate that the state has been synchronized. |
void |
markDirty(int slot)
|
void |
markRemoved()
|
Methods inherited from class org.tranql.field.Row |
get, getValues, set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Object NO_DATA
public static final java.lang.Object SET_VALUE
Constructor Detail |
public CacheRow(java.lang.Object[] defaults)
defaults
- default values used to initialize each slotMethod Detail |
public CacheRowState getState()
public boolean isModified(int slot)
slot
- the slot to check
public boolean isLoaded(int slot)
public void markClean()
public void markDirty(int slot)
public void markRemoved()
public GlobalIdentity getId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |