@ -1052,24 +1052,26 @@ void Java_org_rocksdb_Options_setUseDirectReads(JNIEnv* env, jobject jobj,
/*
/*
* Class : org_rocksdb_Options
* Class : org_rocksdb_Options
* Method : useDirectWrites
* Method : useDirectIoForFlushAndCompaction
* Signature : ( J ) Z
* Signature : ( J ) Z
*/
*/
jboolean Java_org_rocksdb_Options_useDirectWrites ( JNIEnv * env , jobject jobj ,
jboolean Java_org_rocksdb_Options_useDirectIoForFlushAndCompaction (
jlong jhandle ) {
JNIEnv * env , jobject jobj , jlong jhandle ) {
return reinterpret_cast < rocksdb : : Options * > ( jhandle ) - > use_direct_writes ;
return reinterpret_cast < rocksdb : : Options * > ( jhandle )
- > use_direct_io_for_flush_and_compaction ;
}
}
/*
/*
* Class : org_rocksdb_Options
* Class : org_rocksdb_Options
* Method : setUseDirectReads
* Method : setUseDirectIoForFlushAndCompaction
* Signature : ( JZ ) V
* Signature : ( JZ ) V
*/
*/
void Java_org_rocksdb_Options_setUseDirectWrites ( JNIEnv * env , jobject jobj ,
void Java_org_rocksdb_Options_setUseDirectIoForFlushAndCompaction (
jlong jhandle ,
JNIEnv * env , jobject jobj , jlong jhandle ,
jboolean use_direct_writes ) {
jboolean use_direct_io_for_flush_and_compaction ) {
reinterpret_cast < rocksdb : : Options * > ( jhandle ) - > use_direct_writes =
reinterpret_cast < rocksdb : : Options * > ( jhandle )
static_cast < bool > ( use_direct_writes ) ;
- > use_direct_io_for_flush_and_compaction =
static_cast < bool > ( use_direct_io_for_flush_and_compaction ) ;
}
}
/*
/*
@ -4920,12 +4922,13 @@ void Java_org_rocksdb_DBOptions_setUseDirectReads(JNIEnv* env, jobject jobj,
/*
/*
* Class : org_rocksdb_DBOptions
* Class : org_rocksdb_DBOptions
* Method : useDirectWrites
* Method : useDirectIoForFlushAndCompaction
* Signature : ( J ) Z
* Signature : ( J ) Z
*/
*/
jboolean Java_org_rocksdb_DBOptions_useDirectWrites ( JNIEnv * env , jobject jobj ,
jboolean Java_org_rocksdb_DBOptions_useDirectIoForFlushAndCompaction (
jlong jhandle ) {
JNIEnv * env , jobject jobj , jlong jhandle ) {
return reinterpret_cast < rocksdb : : DBOptions * > ( jhandle ) - > use_direct_writes ;
return reinterpret_cast < rocksdb : : DBOptions * > ( jhandle )
- > use_direct_io_for_flush_and_compaction ;
}
}
/*
/*
@ -4933,11 +4936,12 @@ jboolean Java_org_rocksdb_DBOptions_useDirectWrites(JNIEnv* env, jobject jobj,
* Method : setUseDirectReads
* Method : setUseDirectReads
* Signature : ( JZ ) V
* Signature : ( JZ ) V
*/
*/
void Java_org_rocksdb_DBOptions_setUseDirectWrites ( JNIEnv * env , jobject jobj ,
void Java_org_rocksdb_DBOptions_setUseDirectIoForFlushAndCompaction (
jlong jhandle ,
JNIEnv * env , jobject jobj , jlong jhandle ,
jboolean use_direct_writes ) {
jboolean use_direct_io_for_flush_and_compaction ) {
reinterpret_cast < rocksdb : : DBOptions * > ( jhandle ) - > use_direct_writes =
reinterpret_cast < rocksdb : : DBOptions * > ( jhandle )
static_cast < bool > ( use_direct_writes ) ;
- > use_direct_io_for_flush_and_compaction =
static_cast < bool > ( use_direct_io_for_flush_and_compaction ) ;
}
}
/*
/*