INT-4212: FileWritingMessageHandler.flushWhenIdle
JIRA: https://jira.spring.io/browse/INT-4212 Add an option to flush after the `flushInterval`, regardless of intermediate writes. Rename `lastFlush` to `firstWrite` Polishing **Cherry-pick to 4.3.x**
This commit is contained in:
committed by
Artem Bilan
parent
2f7dfbde53
commit
5f450ed959
@@ -661,6 +661,9 @@ or `FileWritingMessageHandler.MessageFlushPredicate` implementation.
|
||||
The predicates are called for each open file.
|
||||
See the java docs for these interfaces for more information.
|
||||
|
||||
When using `flushInterval`, the interval starts at the last write - the file is flushed only if it is idle for the interval.
|
||||
Starting with _version 4.3.7_, and additional property `flushWhenIdle` can be set to `false`, meaning that the interval starts with the first write to a previously flushed (or new) file.
|
||||
|
||||
[[file-timestamps]]
|
||||
==== File Timestamps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user