FlushPolicy

When to flush data.

Values

ValueMeaning
none

Never. The cache is not writable.

manual

Only manually (using save).

atScopeExit

When the cache object is destroyed (object destructor).

atThreadExit

When the thread exits (static destructor).

Meta