public class LogFlusher extends Object
EnvironmentConfig.LOG_FLUSH_SYNC_INTERVAL and
EnvironmentConfig.LOG_FLUSH_NO_SYNC_INTERVAL.
Currently flushing occurs if any transactions were committed during the
interval. In the future we may want to flush if there were no writes or
fynscs in the interval, to allow specifying an even smaller interval for
NO_SYNC flushing. This would mean that the wakeup interval should be the
config interval divided by 2.| Constructor and Description |
|---|
LogFlusher(EnvironmentImpl envImpl) |
| Modifier and Type | Method and Description |
|---|---|
void |
configFlushTask(DbConfigManager configMgr)
Applies the new configuration, then cancels and reschedules the flush
tasks as needed.
|
void |
requestShutdown() |
void |
shutdown() |
public LogFlusher(EnvironmentImpl envImpl)
public void configFlushTask(DbConfigManager configMgr)
IllegalArgumentException - if an illegal combination of old and
new flush params were specified.public void requestShutdown()
public void shutdown()
Copyright © 2024. All rights reserved.