|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xorm.datastore.heap.HeapDatastore
Provides an in-memory database.
Constructor Summary | |
HeapDatastore()
|
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. |
void |
setFactory(InterfaceManagerFactory factory)
|
void |
setProperties(Properties props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeapDatastore()
Method Detail |
public void setProperties(Properties props)
setProperties
in interface Configurable
public void setFactory(InterfaceManagerFactory factory)
setFactory
in interface Configurable
public void add(Row row)
DataCache
add
in interface DataCache
public void remove(Row row)
DataCache
remove
in interface DataCache
public Row get(Table table, Object primaryKey)
DataCache
get
in interface DataCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |