|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implement the Cacheable interface in an active row to enable it to be cached by RowCache.
In addition to these methods, the active row class must call Update.registerChange() in each method that modifies a cached instance, to guarantee timely propagation of changes between transactions inside the same service instance.
RowCache
,
TimedCacheable
,
Update
Method Summary | |
java.lang.Object |
clone()
Return a copy of this instance. |
java.lang.Object[] |
getKeys()
Return the keys that are used to refer to this instance in RowCache. |
boolean |
needsRefresh()
Return true if it is time to refresh this row. |
void |
refresh()
Refresh this row, i.e. retrieve it again from the database. |
Method Detail |
public boolean needsRefresh()
public void refresh() throws GeneralDatabaseException
GeneralDatabaseException
public java.lang.Object[] getKeys()
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |