Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5O_REFRESH

Refreshes all buffers associated with an HDF5 object

Procedure:

H5O_REFRESH(object_id)

Signature:

herr_t H5Orefresh(hid_t object_id)

Parameters:
hid_t object_id   IN: Identifier of the object to be refreshed

Description:

H5O_REFRESH causes all buffers associated with an object to be cleared and immediately re-loaded with updated contents from disk.

This function essentially closes the object, evicts all metadata associated with it from the cache, and then re-opens the object. The reopened object is automatically re-registered with the same identifier.object_id can be any named object associated with an HDF5 file including a dataset, a group, or a committed datatype.

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: June 02, 2020 | 08:57 AM