|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface for a XORM cache. The cache contains Row objects. It is up to an implementation to determine the cache strategy and layout. A cache is not required to hold a reference for any period of time. The only requirements are as follows:
| Method Summary | |
void |
add(Row row)
Adds or replaces the Row in the cache. |
Row |
get(Table table,
Object primaryKey)
Retrieves the Row from the cache with the matching primary key. |
void |
remove(Row row)
Removes a Row from the cache by its primary key. |
| Methods inherited from interface org.xorm.Configurable |
setFactory, setProperties |
| Method Detail |
public void add(Row row)
public Row get(Table table,
Object primaryKey)
public void remove(Row row)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||