Refreshes all buffers associated with a dataset

H5D_REFRESH(dataset_id)

Signature:

Edit each block below with the corresponding language signature for this function.

If there is no implementation for a given language, simply remove the entire block (left click --> Remove) for that language signature.

herr_t H5Drefresh(hid_t dataset_id)

hid_t dataset_id   IN: Identifier of the dataset to be refreshed

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 a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

Release    Change
1.10.0C function introduced with this release.