Last modified: 26 February 2014

Name: H5Orefresh

Signature:
herr_t H5Orefresh(hid_t object_id)

Purpose:
Refreshes all buffers associated with an HDF5 object.

Description:
H5Orefresh 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.

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

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

Fortran Interface:
None

See Also:



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