summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-20 20:23:19 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-20 20:23:19 (GMT)
commit4ecf02f6f6a7c79e4e0d57ea2058ccb5e760f992 (patch)
tree6ceda61abbb5b935f20bebf1625794733469cf37 /java/src
parentd989a0b1cb3d6abeb71d1e37fae5a6d353fb7fc2 (diff)
downloadhdf5-4ecf02f6f6a7c79e4e0d57ea2058ccb5e760f992.zip
hdf5-4ecf02f6f6a7c79e4e0d57ea2058ccb5e760f992.tar.gz
hdf5-4ecf02f6f6a7c79e4e0d57ea2058ccb5e760f992.tar.bz2
HDFFV-9724 Remove VDS file cache functionality
Diffstat (limited to 'java/src')
-rw-r--r--java/src/hdf/hdf5lib/H5.java57
-rw-r--r--java/src/jni/h5pImp.c31
-rw-r--r--java/src/jni/h5pImp.h18
3 files changed, 29 insertions, 77 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index 3de49da..78ebbe2 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -6097,34 +6097,35 @@ public class H5 implements java.io.Serializable {
**/
public synchronized static native String H5Pget_virtual_dsetname(long dcpl_id, long index) throws HDF5LibraryException, IllegalArgumentException;
- /**
- * H5Pget_vds_file_cache_size retrieves the size of the vds link open file cache.
- *
- * @param fapl_id
- * IN: File access property list identifier
- *
- * @return VDS link open file cache size in number of files.
- *
- * @exception HDF5LibraryException
- * - Error from the HDF-5 Library.
- *
- **/
- public synchronized static native int H5Pget_vds_file_cache_size(long fapl_id) throws HDF5LibraryException;
-
- /**
- * H5Pset_vds_file_cache_size sets the number of files that can be held open in an vds link open file cache.
- *
- * @param fapl_id
- * IN: File access property list identifier
- * @param efc_size
- * IN: VDS link open file cache size in number of files.
- *
- * @exception HDF5LibraryException
- * - Error from the HDF-5 Library.
- *
- **/
- public synchronized static native void H5Pset_vds_file_cache_size(long fapl_id, int efc_size)
- throws HDF5LibraryException;
+// ///// unimplemented /////
+// /**
+// * H5Pget_vds_file_cache_size retrieves the size of the vds link open file cache.
+// *
+// * @param fapl_id
+// * IN: File access property list identifier
+// *
+// * @return VDS link open file cache size in number of files.
+// *
+// * @exception HDF5LibraryException
+// * - Error from the HDF-5 Library.
+// *
+// **/
+// public synchronized static native int H5Pget_vds_file_cache_size(long fapl_id) throws HDF5LibraryException;
+//
+// /**
+// * H5Pset_vds_file_cache_size sets the number of files that can be held open in an vds link open file cache.
+// *
+// * @param fapl_id
+// * IN: File access property list identifier
+// * @param efc_size
+// * IN: VDS link open file cache size in number of files.
+// *
+// * @exception HDF5LibraryException
+// * - Error from the HDF-5 Library.
+// *
+// **/
+// public synchronized static native void H5Pset_vds_file_cache_size(long fapl_id, int efc_size)
+// throws HDF5LibraryException;
/**
* H5Pget_external returns information about an external file.
diff --git a/java/src/jni/h5pImp.c b/java/src/jni/h5pImp.c
index b144ff6..cf27341 100644
--- a/java/src/jni/h5pImp.c
+++ b/java/src/jni/h5pImp.c
@@ -5733,37 +5733,6 @@ Java_hdf_hdf5lib_H5_H5Pset_1metadata_1read_1attempts
} /* end else */
} /* end Java_hdf_hdf5lib_H5_H5Pset_1metadata_1read_1attempts */
-/*
- * Class: hdf_hdf5lib_H5
- * Method: H5Pset_vds_file_cache_size
- * Signature: (JI)V
- */
-JNIEXPORT void JNICALL
-Java_hdf_hdf5lib_H5_H5Pset_1vds_1file_1cache_1size
- (JNIEnv *env, jclass clss, jlong plist, jint size)
-{
- unsigned sz = (unsigned)size;
-
- if (H5Pset_vds_file_cache_size((hid_t)plist, (unsigned)sz) < 0)
- h5libraryError(env);
-} /* end Java_hdf_hdf5lib_H5_H5Pset_1vds_1file_1cache_1size */
-
-/*
- * Class: hdf_hdf5lib_H5
- * Method: H5Pget_vds_file_cache_size
- * Signature: (J)I
- */
-JNIEXPORT jint JNICALL
-Java_hdf_hdf5lib_H5_H5Pget_1vds_1file_1cache_1size
- (JNIEnv *env, jclass clss, jlong plist)
-{
- unsigned s;
-
- if (H5Pget_vds_file_cache_size((hid_t)plist, &s) < 0)
- h5libraryError(env);
-
- return (jint)s;
-} /* end Java_hdf_hdf5lib_H5_H5Pget_1vds_1file_1cache_1size */
/*
* Class: hdf_hdf5lib_H5
diff --git a/java/src/jni/h5pImp.h b/java/src/jni/h5pImp.h
index 19df4b2..1d12e3d 100644
--- a/java/src/jni/h5pImp.h
+++ b/java/src/jni/h5pImp.h
@@ -1544,24 +1544,6 @@ Java_hdf_hdf5lib_H5_H5Pset_1metadata_1read_1attempts
/*
* Class: hdf_hdf5lib_H5
- * Method: H5Pset_vds_file_cache_size
- * Signature: (JI)V
- */
-JNIEXPORT void JNICALL
-Java_hdf_hdf5lib_H5_H5Pset_1vds_1file_1cache_1size
-(JNIEnv *, jclass, jlong, jint);
-
-/*
- * Class: hdf_hdf5lib_H5
- * Method: H5Pget_vds_file_cache_size
- * Signature: (J)I
- */
-JNIEXPORT jint JNICALL
-Java_hdf_hdf5lib_H5_H5Pget_1vds_1file_1cache_1size
-(JNIEnv *, jclass, jlong);
-
-/*
- * Class: hdf_hdf5lib_H5
* Method: H5Pset_virtual_prefix
* Signature: (JLjava/lang/String;)V
*/