Last modified: 7 December 2015

Name: H5Trefresh

Signature:
herr_t H5Trefresh(hid_t dtype_id)

Purpose:
Refreshes all buffers associated with a committed datatype.

Description:
H5Trefresh causes all buffers associated with a committed datatype to be cleared and immediately re-loaded with updated contents from disk.

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

Parameters:
hid_t dtype_id    IN: Identifier of the committed datatype 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.