Last modified: 8 December 2015

Name: H5Oare_mdc_flushes_disabled

herr_t H5Oare_mdc_flushes_enabled( hid_t object_id, hbool_t *are_disabled )

Determines if an HDF5 object (dataset, group, committed datatype) has had flushes of metadata entries disabled.

The H5O/H5Fenable/disable_mdc_flushes() and associated H5Xflush() functions can be used to control the flushing of entries from a file’s metadata cache. Metadata cache entries can be controlled at both the individual HDF5 object level (datasets, groups, committed datatypes) and the entire metadata cache level.

HDF5 objects include datasets, groups, and committed datatypes. Only hid_t identifiers that represent these objects can be passed to the function.

Passing in a hid_t identifier that represents any other HDF5 entity is considered an error.

It is an error to pass an HDF5 file identifier (obtained from H5Fopen() or H5Fcreate()) to this function. Use H5Fare_mdc_flushes_disabled instead.

hid_t object_id IN: Identifier of an object in the cache (See the above notes for restrictions).
hbool_t *are_disabled    OUT: Flushes enabled/disabled.

are_disabled will be set to TRUE if an object has had flushes disabled and FALSE if it has not had flushes disabled.

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

Fortran Interface:

See Also:

Release     Change
1.10.0 C function introduced with this release.