kv_create_jni_impl()

#include <kvstore.h>

kv_error_t 
kv_create_jni_impl(kv_impl_t **impl,
                   const char *classpath) 

Creates a JNI implementation structure. This object initializes the Java Native Interface layer. Programs written using this implementation will use JNI, and so require a Java runtime to be available in order for the program to run.

The implementation structure is used with kv_open_store().

You release the implementation structure using kv_release_impl().

Parameters

  • impl

    The impl parameter references memory into which a pointer to the allocated implementation structure is placed.

  • classpath

    The classpath parameter provides a path to the kvclient.jar file, which is required in order to use this library.