6.8.4FLUSH
Syntax
FLUSH [ALL] [GLOBAL | LOCAL]
Description
Flush the entire virtual HDF5 file (global) or the specific HDF5 file (local) currently in use. All buffered data will be written to disk. In case the keyword ALL is specified, all files in use (i.e. open) are flushed. If neither the keyword GLOBAL nor LOCAL is specified, a global flush is performed by default (optionally, the keyword GLOBAL may be specified to make the purpose of this operation clearer). To perform a local flush, the keyword LOCAL must be specified. If no file is currently used, no flush is performed, and an error is raised.
Parameter(s)
None
Return
Nothing
Example(s)
# flush the entire virtual HDF5 file (global) currently in use
FLUSH
# flush the entire virtual HDF5 file (global) currently in use
FLUSH GLOBAL
# flush only the HDF5 file (local) currently in use
FLUSH LOCAL
# flush all the entire virtual HDF5 files (global) in use (i.e. open)
FLUSH ALL GLOBAL