JNI interface to the glfs API