Package | Description |
---|---|
org.sormula |
Fundamental classes.
|
org.sormula.active |
An implementation of the
active record pattern built on top of sormula.
|
org.sormula.cache |
Fundamental classes used to implement caching that is specified by
Cached.type() . |
org.sormula.cache.readonly |
Implementation of
ReadOnlyCache . |
org.sormula.cache.readwrite |
Implementation of
ReadWriteCache . |
org.sormula.cache.writable |
The abstract
WritableCache and supporting classes that are
used for implementing a cache that writes rows to the database. |
Modifier and Type | Method and Description |
---|---|
Cache<R> |
Table.getCache()
Gets the cache for this table.
|
protected Cache<R> |
Table.initCache()
Initialize cache for this table.
|
Modifier and Type | Method and Description |
---|---|
Cache<R> |
ActiveTable.getCache()
Gets this table's cache.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCache<R>
Abstract base class for implementing caches.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
UncommittedRow.updateCommitted(Cache<R> cache)
Put this uncommitted row in committed map of cache.
|
Modifier and Type | Class and Description |
---|---|
class |
ReadOnlyCache<R>
A cache that retains rows that selected, inserted, updated, and deleted.
|
Modifier and Type | Method and Description |
---|---|
void |
UncommittedUpdate.updateCommitted(Cache<R> cache) |
void |
UncommittedSelect.updateCommitted(Cache<R> cache) |
void |
UncommittedInsert.updateCommitted(Cache<R> cache) |
void |
UncommittedDelete.updateCommitted(Cache<R> cache) |
Modifier and Type | Class and Description |
---|---|
class |
ReadWriteCache<R>
A cache that retains rows that selected, inserted, updated, and deleted.
|
Modifier and Type | Method and Description |
---|---|
void |
UncommittedUpdate.updateCommitted(Cache<R> cache) |
void |
UncommittedSelect.updateCommitted(Cache<R> cache) |
void |
UncommittedSave.updateCommitted(Cache<R> cache) |
void |
UncommittedInsert.updateCommitted(Cache<R> cache) |
void |
UncommittedDelete.updateCommitted(Cache<R> cache) |
Modifier and Type | Class and Description |
---|---|
class |
WritableCache<R>
Abstract base class for implementing a cache that writes to the database upon transaction commit.
|