| org.h2.util.CacheWriter
All known Subclasses: org.h2.store.DiskFile,
CacheWriter | public interface CacheWriter (Code) | | The cache writer is called by the cache to persist changed data that needs to
be removed from the cache.
|
Method Summary | |
void | flushLog() Flush the log file, so that entries can be removed from the cache. | void | writeBack(CacheObject entry) Persist a record. |
flushLog | void flushLog() throws SQLException(Code) | | Flush the log file, so that entries can be removed from the cache. This
is only required if the cache is full and contains data that is not yet
written to the log file. It is required to write the log entries to the
log file first, because the log file is 'write ahead'.
|
|
|