Discuss this help topic in CBFS Forum

CallbackFileSystem.ParallelProcessingAllowed property

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    

Overview

Specifies whether read operations on the same file or directory may be executed in parallel

Declaration

[Pascal]
    property ParallelProcessingAllowed : boolean;

[C++ (Lib)]
    bool GetParallelProcessingAllowed();
    void SetParallelProcessingAllowed(BOOL Value);

[C++ (VCL)]
    bool ParallelProcessingAllowed;

[C++ (.NET)]
    bool ParallelProcessingAllowed;

[C#]
    bool ParallelProcessingAllowed;

[VB.NET]
    Public Property ParallelProcessingAllowed As Boolean

[Java]
    boolean getParallelProcessingAllowed();
    void setParallelProcessingAllowed(boolean Value);

Description

Parallel processing speeds up read operations to some extent. When parallel processing is allowed and two or more requests, which don't change filesystem information, are made over the same file, these requests are (given there are worker threads available) sent to the corresponding callback/event handler in parallel. If parallel processing is not allowed, such requests are serialized.

By default parallel processing is disabled.

Parallel processing works when SerializeCallbacks property is set to false (if it's set to true, all callbacks are serialized) and values of MinWorkerThreadCount and MaxWorkerThreadCount properties allow parallel processing.

See also

SerializeCallbacks     MaxWorkerThreadCount     MinWorkerThreadCount

Discuss this help topic in CBFS Forum