|
|
@ -1522,10 +1522,11 @@ void Java_org_rocksdb_Options_setLevelCompactionDynamicLevelBytes( |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
* Class: org_rocksdb_Options |
|
|
|
* Method: maxBytesForLevelMultiplier |
|
|
|
* Method: maxBytesForLevelMultiplier |
|
|
|
* Signature: (J)I |
|
|
|
* Signature: (J)D |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
jint Java_org_rocksdb_Options_maxBytesForLevelMultiplier( |
|
|
|
jdouble Java_org_rocksdb_Options_maxBytesForLevelMultiplier(JNIEnv* env, |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
jobject jobj, |
|
|
|
|
|
|
|
jlong jhandle) { |
|
|
|
return reinterpret_cast<rocksdb::Options*>( |
|
|
|
return reinterpret_cast<rocksdb::Options*>( |
|
|
|
jhandle)->max_bytes_for_level_multiplier; |
|
|
|
jhandle)->max_bytes_for_level_multiplier; |
|
|
|
} |
|
|
|
} |
|
|
@ -1533,14 +1534,13 @@ jint Java_org_rocksdb_Options_maxBytesForLevelMultiplier( |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
* Class: org_rocksdb_Options |
|
|
|
* Method: setMaxBytesForLevelMultiplier |
|
|
|
* Method: setMaxBytesForLevelMultiplier |
|
|
|
* Signature: (JI)V |
|
|
|
* Signature: (JD)V |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void Java_org_rocksdb_Options_setMaxBytesForLevelMultiplier( |
|
|
|
void Java_org_rocksdb_Options_setMaxBytesForLevelMultiplier( |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, |
|
|
|
jint jmax_bytes_for_level_multiplier) { |
|
|
|
jdouble jmax_bytes_for_level_multiplier) { |
|
|
|
reinterpret_cast<rocksdb::Options*>( |
|
|
|
reinterpret_cast<rocksdb::Options*>(jhandle)->max_bytes_for_level_multiplier = |
|
|
|
jhandle)->max_bytes_for_level_multiplier = |
|
|
|
static_cast<double>(jmax_bytes_for_level_multiplier); |
|
|
|
static_cast<int>(jmax_bytes_for_level_multiplier); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
@ -2823,9 +2823,9 @@ void Java_org_rocksdb_ColumnFamilyOptions_setLevelCompactionDynamicLevelBytes( |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Class: org_rocksdb_ColumnFamilyOptions |
|
|
|
* Class: org_rocksdb_ColumnFamilyOptions |
|
|
|
* Method: maxBytesForLevelMultiplier |
|
|
|
* Method: maxBytesForLevelMultiplier |
|
|
|
* Signature: (J)I |
|
|
|
* Signature: (J)D |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
jint Java_org_rocksdb_ColumnFamilyOptions_maxBytesForLevelMultiplier( |
|
|
|
jdouble Java_org_rocksdb_ColumnFamilyOptions_maxBytesForLevelMultiplier( |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
return reinterpret_cast<rocksdb::ColumnFamilyOptions*>( |
|
|
|
return reinterpret_cast<rocksdb::ColumnFamilyOptions*>( |
|
|
|
jhandle)->max_bytes_for_level_multiplier; |
|
|
|
jhandle)->max_bytes_for_level_multiplier; |
|
|
@ -2834,14 +2834,14 @@ jint Java_org_rocksdb_ColumnFamilyOptions_maxBytesForLevelMultiplier( |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Class: org_rocksdb_ColumnFamilyOptions |
|
|
|
* Class: org_rocksdb_ColumnFamilyOptions |
|
|
|
* Method: setMaxBytesForLevelMultiplier |
|
|
|
* Method: setMaxBytesForLevelMultiplier |
|
|
|
* Signature: (JI)V |
|
|
|
* Signature: (JD)V |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void Java_org_rocksdb_ColumnFamilyOptions_setMaxBytesForLevelMultiplier( |
|
|
|
void Java_org_rocksdb_ColumnFamilyOptions_setMaxBytesForLevelMultiplier( |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, |
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, |
|
|
|
jint jmax_bytes_for_level_multiplier) { |
|
|
|
jdouble jmax_bytes_for_level_multiplier) { |
|
|
|
reinterpret_cast<rocksdb::ColumnFamilyOptions*>( |
|
|
|
reinterpret_cast<rocksdb::ColumnFamilyOptions*>(jhandle) |
|
|
|
jhandle)->max_bytes_for_level_multiplier = |
|
|
|
->max_bytes_for_level_multiplier = |
|
|
|
static_cast<int>(jmax_bytes_for_level_multiplier); |
|
|
|
static_cast<double>(jmax_bytes_for_level_multiplier); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|