[RocksJava] Deprecate setSkipLogErrorOnRecovery
- see: 62ad0a9b19f0be4cefa70b6b32876e764b7f3c11
This commit is contained in:
parent
114d21878d
commit
ca52a67cfb
@ -464,6 +464,7 @@ public class DBOptions extends RocksObject implements DBOptionsInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public DBOptions setSkipLogErrorOnRecovery(boolean skip) {
|
public DBOptions setSkipLogErrorOnRecovery(boolean skip) {
|
||||||
assert(isInitialized());
|
assert(isInitialized());
|
||||||
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
||||||
@ -471,6 +472,7 @@ public class DBOptions extends RocksObject implements DBOptionsInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public boolean skipLogErrorOnRecovery() {
|
public boolean skipLogErrorOnRecovery() {
|
||||||
assert(isInitialized());
|
assert(isInitialized());
|
||||||
return skipLogErrorOnRecovery(nativeHandle_);
|
return skipLogErrorOnRecovery(nativeHandle_);
|
||||||
|
@ -707,7 +707,10 @@ public interface DBOptionsInterface {
|
|||||||
*
|
*
|
||||||
* @param skip true if log corruption errors are skipped during recovery.
|
* @param skip true if log corruption errors are skipped during recovery.
|
||||||
* @return the instance of the current Object.
|
* @return the instance of the current Object.
|
||||||
|
*
|
||||||
|
* @deprecated will be removed in RocksDB 3.11.0. Not used anymore.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
Object setSkipLogErrorOnRecovery(boolean skip);
|
Object setSkipLogErrorOnRecovery(boolean skip);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -716,7 +719,10 @@ public interface DBOptionsInterface {
|
|||||||
* Default: false
|
* Default: false
|
||||||
*
|
*
|
||||||
* @return true if log corruption errors are skipped during recovery.
|
* @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();
|
boolean skipLogErrorOnRecovery();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -551,12 +551,14 @@ public class Options extends RocksObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public boolean skipLogErrorOnRecovery() {
|
public boolean skipLogErrorOnRecovery() {
|
||||||
assert(isInitialized());
|
assert(isInitialized());
|
||||||
return skipLogErrorOnRecovery(nativeHandle_);
|
return skipLogErrorOnRecovery(nativeHandle_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public Options setSkipLogErrorOnRecovery(boolean skip) {
|
public Options setSkipLogErrorOnRecovery(boolean skip) {
|
||||||
assert(isInitialized());
|
assert(isInitialized());
|
||||||
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
setSkipLogErrorOnRecovery(nativeHandle_, skip);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user