Discuss this help topic in CBFS Forum

CallbackFileSystem.DisableRouteCache method

Filter:

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

CallbackFileSystem     See also    

Overview

Disables the local cache for files.

Declaration

[Pascal]
    procedure DisableRouteCache( InvalidateRoutedFiles : boolean );

[C++ (Lib)]
    void DisableRouteCache( bool InvalidateRoutedFiles );

[C++ (VCL)]
    void __fastcall DisableRouteCache( bool InvalidateRoutedFiles );

[C++ (.NET)]
    void DisableRouteCache( bool InvalidateRoutedFiles );

[C#]
    void DisableRouteCache( bool InvalidateRoutedFiles )

[VB.NET]
    Sub DisableRouteCache( ByVal InvalidateRoutedFiles As Boolean )

[Java]
    void disableRouteCache( boolean InvalidateRoutedFiles )

Parameters

  • InvalidateRoutedFiles - Specifies if currently opened handles to files should be forcefully closed (invalidated)

Description

Use this method to disable the local cache of files.

When the file is opened on the virtual disk and the local cache is enabled, the file is first looked for in the local cache. If the file is present, no callbacks / events are fired and all operations are performed on the local file.

If there are opened handles to files, contained in the cache, you can use InvalidateRoutedFiles parameter to let those files be used further, or to become invalid immediately.

Call from...

This method may be called only from outside of callback / event handlers.

See also

EnableRouteCache method     RouteToFile method    

Discuss this help topic in CBFS Forum