FlushPolicy Property
The file flushing strategy that the cache should use.
Syntax
Default Value
2
Remarks
This property specifies the strategy that the cache should use for flushing changed file data out to external storage. It must be set to one of the following values:
FLUSH_POLICY_NONE | 0 | No automatic flushing. |
FLUSH_POLICY_SIZE | 1 | Flush a file when the amount of changed data exceeds a certain limit.
The FlushAfterSize property specifies the size limit. |
FLUSH_POLICY_TIME | 2 | Flush a file when it hasn't been written to for a certain amount of time.
The FlushAfterTime property specifies the time limit. |
FLUSH_POLICY_SIZE_OR_TIME | 3 | Flush a file when the amount of changed data exceeds a certain limit OR when it hasn't been written to for a certain amount of time.
The FlushAfterSize and FlushAfterTime properties specify the size and time limits, respectively. |
FLUSH_POLICY_SIZE_AND_TIME | 4 | Flush a file when the amount of changed data exceeds a certain limit AND when it hasn't been written to for a certain amount of time.
The FlushAfterSize and FlushAfterTime properties specify the size and time limits, respectively. |
Note: This property cannot be changed when Active is true.