|
|
|
@ -695,27 +695,6 @@ void Java_org_rocksdb_Options_setTableCacheNumshardbits( |
|
|
|
|
static_cast<int>(table_cache_numshardbits); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: tableCacheRemoveScanCountLimit |
|
|
|
|
* Signature: (J)I |
|
|
|
|
*/ |
|
|
|
|
jint Java_org_rocksdb_Options_tableCacheRemoveScanCountLimit( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
|
// deprecated
|
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: setTableCacheRemoveScanCountLimit |
|
|
|
|
* Signature: (JI)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_Options_setTableCacheRemoveScanCountLimit( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, jint limit) { |
|
|
|
|
// deprecated
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Method: useFixedLengthPrefixExtractor |
|
|
|
|
* Signature: (JI)V |
|
|
|
@ -890,28 +869,6 @@ void Java_org_rocksdb_Options_setIsFdCloseOnExec( |
|
|
|
|
static_cast<bool>(is_fd_close_on_exec); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: skipLogErrorOnRecovery |
|
|
|
|
* Signature: (J)Z |
|
|
|
|
*/ |
|
|
|
|
jboolean Java_org_rocksdb_Options_skipLogErrorOnRecovery( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
|
return reinterpret_cast<rocksdb::Options*>(jhandle) |
|
|
|
|
->skip_log_error_on_recovery; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: setSkipLogErrorOnRecovery |
|
|
|
|
* Signature: (JZ)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_Options_setSkipLogErrorOnRecovery( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, jboolean skip) { |
|
|
|
|
reinterpret_cast<rocksdb::Options*>(jhandle)->skip_log_error_on_recovery = |
|
|
|
|
static_cast<bool>(skip); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_Options |
|
|
|
|
* Method: statsDumpPeriodSec |
|
|
|
@ -3523,27 +3480,6 @@ jint Java_org_rocksdb_DBOptions_tableCacheNumshardbits( |
|
|
|
|
table_cache_numshardbits; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setTableCacheRemoveScanCountLimit |
|
|
|
|
* Signature: (JI)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_DBOptions_setTableCacheRemoveScanCountLimit( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, jint limit) { |
|
|
|
|
// deprecated
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: tableCacheRemoveScanCountLimit |
|
|
|
|
* Signature: (J)I |
|
|
|
|
*/ |
|
|
|
|
jint Java_org_rocksdb_DBOptions_tableCacheRemoveScanCountLimit( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
|
// deprecated
|
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setWalTtlSeconds |
|
|
|
@ -3697,28 +3633,6 @@ jboolean Java_org_rocksdb_DBOptions_isFdCloseOnExec( |
|
|
|
|
return reinterpret_cast<rocksdb::DBOptions*>(jhandle)->is_fd_close_on_exec; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setSkipLogErrorOnRecovery |
|
|
|
|
* Signature: (JZ)V |
|
|
|
|
*/ |
|
|
|
|
void Java_org_rocksdb_DBOptions_setSkipLogErrorOnRecovery( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle, jboolean skip) { |
|
|
|
|
reinterpret_cast<rocksdb::DBOptions*>(jhandle)->skip_log_error_on_recovery = |
|
|
|
|
static_cast<bool>(skip); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: skipLogErrorOnRecovery |
|
|
|
|
* Signature: (J)Z |
|
|
|
|
*/ |
|
|
|
|
jboolean Java_org_rocksdb_DBOptions_skipLogErrorOnRecovery( |
|
|
|
|
JNIEnv* env, jobject jobj, jlong jhandle) { |
|
|
|
|
return reinterpret_cast<rocksdb::DBOptions*>(jhandle) |
|
|
|
|
->skip_log_error_on_recovery; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_rocksdb_DBOptions |
|
|
|
|
* Method: setStatsDumpPeriodSec |
|
|
|
|