Package | Description |
---|---|
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 |
---|---|
CacheKey |
UncommittedRow.getCacheKey()
Gets the cache key for uncommitted row.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<CacheKey,R> |
AbstractCache.getCommittedCache()
Gets the map that stores committed rows.
|
protected java.util.Map<CacheKey,UncommittedRow<R>> |
AbstractCache.getUncommittedCache()
Gets the map that stores uncommitted rows.
|
Modifier and Type | Method and Description |
---|---|
R |
AbstractCache.getCommitted(CacheKey primaryKeys)
Gets a row from committed cache.
|
UncommittedRow<R> |
AbstractCache.getUncommitted(CacheKey primaryKeys)
Gets a row from uncommitted cache.
|
R |
AbstractCache.putCommitted(CacheKey primaryKeys,
R row)
Puts a row into committed cache.
|
R |
AbstractCache.removeCommited(CacheKey primaryKeys)
Removes a row from committed cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCache.setCommittedCache(java.util.Map<CacheKey,R> committedCache)
Sets new committed map.
|
protected void |
AbstractCache.setUncommittedCache(java.util.Map<CacheKey,UncommittedRow<R>> uncommittedCache)
Sets new uncommitted map.
|
Constructor and Description |
---|
UncommittedRow(CacheKey cacheKey,
R row)
Constructs for a key and correspond row.
|
Constructor and Description |
---|
UncommittedDelete(CacheKey cacheKey,
R row) |
UncommittedInsert(CacheKey cacheKey,
R row) |
UncommittedReadOnlyRow(CacheKey cacheKey,
R row) |
UncommittedSelect(CacheKey cacheKey,
R row) |
UncommittedUpdate(CacheKey cacheKey,
R row) |
Constructor and Description |
---|
UncommittedDelete(CacheKey cacheKey,
R row) |
UncommittedInsert(CacheKey cacheKey,
R row) |
UncommittedSave(CacheKey cacheKey,
R row) |
UncommittedSelect(CacheKey cacheKey,
R row) |
UncommittedUpdate(CacheKey cacheKey,
R row) |
Constructor and Description |
---|
UncommittedWritableRow(CacheKey cacheKey,
R row) |