FlushPolicy Property

The file flushing strategy that the cache should use.

Syntax

public int FlushPolicy { get; set; }
Public Property FlushPolicy As Integer

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_NONE0No automatic flushing.

FLUSH_POLICY_SIZE1Flush a file when the amount of changed data exceeds a certain limit.

The FlushAfterSize property specifies the size limit.

FLUSH_POLICY_TIME2Flush 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_TIME3Flush 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_TIME4Flush 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.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]