summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/hdf5lib/H5.java
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2019-04-14 04:06:38 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2019-04-14 04:06:38 (GMT)
commit5696c02a3cceec73cfb404b7415ca33ca1a48718 (patch)
treec25d0985895862053d6b9d1eb1fce4fa94d471e3 /java/src/hdf/hdf5lib/H5.java
parent52276f3713eec584044bc72d4724507848cfeba0 (diff)
parentd7e1464058515d07b838741f65a77977224814de (diff)
downloadhdf5-5696c02a3cceec73cfb404b7415ca33ca1a48718.zip
hdf5-5696c02a3cceec73cfb404b7415ca33ca1a48718.tar.gz
hdf5-5696c02a3cceec73cfb404b7415ca33ca1a48718.tar.bz2
Merge pull request #1653 in HDFFV/hdf5 from ~KOZIOL/hdf5:get_fileno to develop
* commit 'd7e1464058515d07b838741f65a77977224814de': Add C++, Java, and FORTRAN wrappers and tests for H5Fget_fileno Add trace macro. Add H5Fget_fileno() API routine.
Diffstat (limited to 'java/src/hdf/hdf5lib/H5.java')
-rw-r--r--java/src/hdf/hdf5lib/H5.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index d107ad8..e874732 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -2968,6 +2968,19 @@ public class H5 implements java.io.Serializable {
public synchronized static native int H5Fget_intent(long file_id) throws HDF5LibraryException;
/**
+ * H5Fget_fileno retrieves the "file number" for an open file.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ *
+ * @return the unique file number for the file.
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF-5 Library.
+ **/
+ public synchronized static native long H5Fget_fileno(long file_id) throws HDF5LibraryException;
+
+ /**
* H5Fget_mdc_hit_rate queries the metadata cache of the target file to obtain its hit rate (cache hits / (cache
* hits + cache misses)) since the last time hit rate statistics were reset.
*