Instructs this to flush any in-memory caches to disk, if applicable.
When filtering many messages, delaying this step until all messages have been classified can improve performance.
If an error occurs, the function sets throws and returns false.
this | |
cancellable |
optional Cancellable object, or null |
true if this was successfully synchronized |