Logo Search packages:      
Sourcecode: jhdf version File versions  Download package

static synchronized native int ncsa::hdf::hdf5lib::H5::H5Pset_cache ( int  plist,
int  mdc_nelmts,
int  rdcc_nelmts,
int  rdcc_nbytes,
double  rdcc_w0 
) throws HDF5LibraryException [static]

H5Pget_driver returns the identifier of the low-level file driver.

Valid identifiers are:

  • H5F_LOW_STDIO (0)
  • H5F_LOW_SEC2 (1)
  • H5F_LOW_MPIO (2)
  • H5F_LOW_CORE (3)
  • H5F_LOW_SPLIT (4)
  • H5F_LOW_FAMILY (5)

Parameters:
plist IN: Identifier of a file access property list.
Returns:
a low-level driver identifier if successful. Otherwise returns H5F_LOW_ERROR (-1).
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pset_stdio sets the low level file driver to use the functions declared in the stdio.h file: fopen(), fseek() or fseek64(), fread(), fwrite(), and fclose().
Parameters:
plist IN: Identifier of a file access property list.
Returns:
a non-negative value if successful H5Pget_stdio checks to determine whether the file access property list is set to the stdio driver.
Parameters:
plist IN: Identifier of a file access property list.
Returns:
true if the file access property list is set to the stdio driver. Otherwise returns a negative value. H5Pset_sec2 sets the low-level file driver to use the functions declared in the unistd.h file: open(), lseek() or lseek64(), read(), write(), and close().
Parameters:
plist IN: Identifier of a file access property list.
Returns:
a non-negative value if successful
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pget_sec2 checks to determine whether the file access property list is set to the sec2 driver.
Parameters:
plist IN: Identifier of a file access property list.
Returns:
true if the file access property list is set to the sec2 driver. Otherwise returns a negative value.
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pset_core sets the low-level file driver to use malloc() and free().
Parameters:
plist IN: Identifier of a file access property list.
increment IN: File block size in bytes.
Returns:
a non-negative value if successful
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pget_core checks to determine whether the file access property list is set to the core driver.
Parameters:
plist IN: Identifier of the file access property list.
increment OUT: A location to return the file block size
Returns:
true if the file access property list is set to the core driver.
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pset_split sets the low-level driver to split meta data from raw data, storing meta data in one file and raw data in another file.
Parameters:
plist IN: Identifier of the file access property list.
meta_ext IN: Name of the extension for the metafile filename. Recommended default value: .meta.
meta_plist IN: Identifier of the meta file access property list.
raw_ext IN: Name extension for the raw file filename. Recommended default value: .raw.
raw_plist IN: Identifier of the raw file access property list.
Returns:
a non-negative value if successful
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library.
NullPointerException - a string is null. H5Pget_split checks to determine whether the file access property list is set to the split driver.
Parameters:
plist IN: Identifier of the file access property list.
meta_ext_size IN: Number of characters of the meta file extension to be copied to the meta_ext buffer.
meta_ext IN: Meta file extension.
*meta_properties OUT: A copy of the meta file access property list.
raw_ext_size IN: Number of characters of the raw file extension to be copied to the raw_ext buffer.
raw_ext OUT: Raw file extension.
*raw_properties OUT: A copy of the raw file access property list.
Returns:
true if the file access property list is set to the split driver.
Exceptions:
ArrayIndexOutOfBoundsException JNI error writing back array
ArrayStoreException JNI error writing back array
HDF5LibraryException - Error from the HDF-5 Library.
NullPointerException - a string or array is null. H5Pset_family sets the file access properties to use the family driver; any previously defined driver properties are erased from the property list.
Parameters:
plist IN: Identifier of the file access property list.
memb_size IN: Logical size, in bytes, of each family member.
memb_plist IN: Identifier of the file access property list for each member of the family.
Returns:
a non-negative value if successful
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library. H5Pget_family checks to determine whether the file access property list is set to the family driver.
Parameters:
plist IN: Identifier of the file access property list.
memb_size OUT: Logical size, in bytes, of each family member.
*memb_plist OUT: Identifier of the file access property list for each member of the family.
Returns:
a non-negative value if the file access property list is set to the family driver.
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library.
NullPointerException - an array is null. H5Pset_cache sets the number of elements (objects) in the meta data cache and the total number of bytes in the raw data chunk cache.
Parameters:
plist IN: Identifier of the file access property list.
mdc_nelmts IN: Number of elements (objects) in the meta data cache.
rdcc_nbytes IN: Total size of the raw data chunk cache, in bytes.
rdcc_w0 IN: Preemption policy.
Returns:
a non-negative value if successful
Exceptions:
HDF5LibraryException - Error from the HDF-5 Library.


Generated by  Doxygen 1.6.0   Back to index