Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5D_REFRESH

Refreshes all buffers associated with a dataset

Procedure:

H5D_REFRESH(dataset_id)

Signature:

herr_t H5Drefresh(hid_t dataset_id)

Parameters:
hid_t dataset_id   IN: Identifier of the dataset to be refreshed

Description:

H5D_REFRESH causes all buffers associated with a dataset to be cleared and immediately re-loaded with updated contents from disk.

This function essentially closes the dataset, evicts all metadata associated with it from the cache, and then re-opens the dataset. The reopened dataset is automatically re-registered with the same identifier.

Returns:

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

Example:

Coming Soon!

History:
Release    Change
1.10.0C function introduced with this release.

--- Last Modified: December 18, 2018 | 01:35 PM