6.8.16SET FLUSH
Syntax
SET FLUSH {{[GLOBAL | LOCAL] ENABLE} | DISABLE | DEFAULT}
Description
Set the automatic flushing55 of the entire virtual HDF5 file (global) or only the HDF5 file (local) currently in use to enabled or disabled. If enabled, automatic flushing (i.e. all buffered data is written to disk) will subsequently occur whenever an operation that modifies the file is executed. If neither the keyword GLOBAL nor LOCAL is specified, automatic global flushing is set by default (optionally, the keyword GLOBAL may be specified to make the purpose of this operation clearer). To set automatic local flushing, the keyword LOCAL must be specified. In case the keyword DEFAULT is specified, the automatic flushing is set to disabled (i.e. equivalent to specifying the keyword DISABLE).
Parameter(s)
None
Return
Nothing
Example(s)
# enable automatic flushing of the entire virtual HDF5 file (global) currently in use
SET FLUSH ENABLE
# enable automatic flushing of the entire virtual HDF5 file (global) currently in use
SET FLUSH GLOBAL ENABLE
# enable automatic flushing of only the HDF5 file (local) currently in use
SET FLUSH LOCAL ENABLE
# disable automatic flushing of the entire virtual HDF5 file (global) or only the HDF5 file (local) currently in use
SET FLUSH DISABLENotes
- By default (i.e. upon initialization of the HDFql library), the automatic flushing is set to disabled. ↩