Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5F_CLEAR_ELINK_FILE_CACHE

Clears the external link open file cache

H5F_CLEAR_ELINK_FILE_CACHE(file_id)

herr_t H5Fclear_elink_file_cache( hid_t file_id )

hid_t file_idIN: File identifier

H5F_CLEAR_ELINK_FILE_CACHE evicts all the cached child files in the specified file’s external file cache, causing them to be closed if there is nothing else holding them open.

H5F_CLEAR_ELINK_FILE_CACHE does not close the cache itself; subsequent external link traversals from the parent file will again cache the target file. See H5P_SET_ELINK_FILE_CACHE_SIZE for information on closing the file cache.

Returns a non-negative value if successful; otherwise returns a negative value.

The following C code clears the external file cache for the file specified by file_id:

    status = H5Fclear_elink_file_cache(file_id)         

Release    Change
1.8.7C function introduced in this release.

--- Last Modified: May 10, 2018 | 01:43 PM