mirror of https://github.com/facebook/rocksdb.git
Merge pull request #480 from fyrz/RocksJava-Deprecate-SkipLogError
[RocksJava] Deprecate setSkipLogErrorOnRecovery
This commit is contained in:
commit
384cb6619e
|
@ -464,6 +464,7 @@ public class DBOptions extends RocksObject implements DBOptionsInterface {
|
|||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public DBOptions setSkipLogErrorOnRecovery(boolean skip) {
|
||||
assert(isInitialized());
|
||||
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
||||
|
@ -471,6 +472,7 @@ public class DBOptions extends RocksObject implements DBOptionsInterface {
|
|||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public boolean skipLogErrorOnRecovery() {
|
||||
assert(isInitialized());
|
||||
return skipLogErrorOnRecovery(nativeHandle_);
|
||||
|
|
|
@ -707,7 +707,10 @@ public interface DBOptionsInterface {
|
|||
*
|
||||
* @param skip true if log corruption errors are skipped during recovery.
|
||||
* @return the instance of the current Object.
|
||||
*
|
||||
* @deprecated will be removed in RocksDB 3.11.0. Not used anymore.
|
||||
*/
|
||||
@Deprecated
|
||||
Object setSkipLogErrorOnRecovery(boolean skip);
|
||||
|
||||
/**
|
||||
|
@ -716,7 +719,10 @@ public interface DBOptionsInterface {
|
|||
* Default: false
|
||||
*
|
||||
* @return true if log corruption errors are skipped during recovery.
|
||||
*
|
||||
* @deprecated will be removed in RocksDB 3.11.0. Not used anymore.
|
||||
*/
|
||||
@Deprecated
|
||||
boolean skipLogErrorOnRecovery();
|
||||
|
||||
/**
|
||||
|
|
|
@ -551,12 +551,14 @@ public class Options extends RocksObject
|
|||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public boolean skipLogErrorOnRecovery() {
|
||||
assert(isInitialized());
|
||||
return skipLogErrorOnRecovery(nativeHandle_);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public Options setSkipLogErrorOnRecovery(boolean skip) {
|
||||
assert(isInitialized());
|
||||
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
||||
|
|
Loading…
Reference in New Issue