|
|
|
@ -68,6 +68,17 @@ void Java_org_rocksdb_Options_disposeInternal( |
|
|
|
|
delete reinterpret_cast<rocksdb::Options*>(handle); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: setIncreaseParallelism |
|
|
|
|
* Signature: (JI)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_Options_setIncreaseParallelism( |
|
|
|
|
JNIEnv * evnv, jobject jobj, jlong jhandle, jint totalThreads) { |
|
|
|
|
reinterpret_cast<rocksdb::Options*> |
|
|
|
|
(jhandle)->IncreaseParallelism(static_cast<int>(totalThreads)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: setCreateIfMissing |
|
|
|
@ -2816,6 +2827,18 @@ void Java_org_rocksdb_DBOptions_disposeInternal( |
|
|
|
|
delete reinterpret_cast<rocksdb::DBOptions*>(handle); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setIncreaseParallelism |
|
|
|
|
* Signature: (JI)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_DBOptions_setIncreaseParallelism( |
|
|
|
|
JNIEnv * env, jobject jobj, jlong jhandle, jint totalThreads) { |
|
|
|
|
reinterpret_cast<rocksdb::DBOptions*> |
|
|
|
|
(jhandle)->IncreaseParallelism(static_cast<int>(totalThreads)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setCreateIfMissing |
|
|
|
|