Fix build
This commit is contained in:
parent
2fa0a993b8
commit
1a6c1a5ddd
@ -68,11 +68,9 @@ public class RestoreBackupableDB extends RocksObject {
|
|||||||
* Release the memory allocated for the current instance
|
* Release the memory allocated for the current instance
|
||||||
* in the c++ side.
|
* in the c++ side.
|
||||||
*/
|
*/
|
||||||
@Override public synchronized void dispose() {
|
@Override public synchronized void disposeInternal() {
|
||||||
if (isInitialized()) {
|
assert(isInitialized());
|
||||||
dispose(nativeHandle_);
|
dispose(nativeHandle_);
|
||||||
nativeHandle_ = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private native long newRestoreBackupableDB(long options);
|
private native long newRestoreBackupableDB(long options);
|
||||||
|
@ -27,11 +27,9 @@ public class RestoreOptions extends RocksObject {
|
|||||||
* Release the memory allocated for the current instance
|
* Release the memory allocated for the current instance
|
||||||
* in the c++ side.
|
* in the c++ side.
|
||||||
*/
|
*/
|
||||||
@Override public synchronized void dispose() {
|
@Override public synchronized void disposeInternal() {
|
||||||
if (isInitialized()) {
|
assert(isInitialized());
|
||||||
dispose(nativeHandle_);
|
dispose(nativeHandle_);
|
||||||
nativeHandle_ = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private native long newRestoreOptions(boolean keepLogFiles);
|
private native long newRestoreOptions(boolean keepLogFiles);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user