@ -71,7 +71,7 @@ public class Options {
* @return the instance of the current Options .
* @return the instance of the current Options .
* @see RocksDB . open ( )
* @see RocksDB . open ( )
* /
* /
public Options setWriteBufferSize ( int writeBufferSize ) {
public Options setWriteBufferSize ( long writeBufferSize ) {
assert ( isInitialized ( ) ) ;
assert ( isInitialized ( ) ) ;
setWriteBufferSize ( nativeHandle_ , writeBufferSize ) ;
setWriteBufferSize ( nativeHandle_ , writeBufferSize ) ;
return this ;
return this ;
@ -83,7 +83,7 @@ public class Options {
* @return size of write buffer .
* @return size of write buffer .
* @see setWriteBufferSize ( )
* @see setWriteBufferSize ( )
* /
* /
public int writeBufferSize ( ) {
public long writeBufferSize ( ) {
assert ( isInitialized ( ) ) ;
assert ( isInitialized ( ) ) ;
return writeBufferSize ( nativeHandle_ ) ;
return writeBufferSize ( nativeHandle_ ) ;
}
}
@ -127,7 +127,7 @@ public class Options {
* @return the instance of the current Options .
* @return the instance of the current Options .
* @see RocksDB . open ( )
* @see RocksDB . open ( )
* /
* /
public Options setBlockSize ( int blockSize ) {
public Options setBlockSize ( long blockSize ) {
assert ( isInitialized ( ) ) ;
assert ( isInitialized ( ) ) ;
setBlockSize ( nativeHandle_ , blockSize ) ;
setBlockSize ( nativeHandle_ , blockSize ) ;
return this ;
return this ;
@ -139,7 +139,7 @@ public class Options {
* @return block size .
* @return block size .
* @see setBlockSize ( )
* @see setBlockSize ( )
* /
* /
public int blockSize ( ) {
public long blockSize ( ) {
assert ( isInitialized ( ) ) ;
assert ( isInitialized ( ) ) ;
return blockSize ( nativeHandle_ ) ;
return blockSize ( nativeHandle_ ) ;
}
}
@ -236,13 +236,13 @@ public class Options {
private native void dispose0 ( ) ;
private native void dispose0 ( ) ;
private native void setCreateIfMissing ( long handle , boolean flag ) ;
private native void setCreateIfMissing ( long handle , boolean flag ) ;
private native boolean createIfMissing ( long handle ) ;
private native boolean createIfMissing ( long handle ) ;
private native void setWriteBufferSize ( long handle , int writeBufferSize ) ;
private native void setWriteBufferSize ( long handle , long writeBufferSize ) ;
private native int writeBufferSize ( long handle ) ;
private native long writeBufferSize ( long handle ) ;
private native void setMaxWriteBufferNumber (
private native void setMaxWriteBufferNumber (
long handle , int maxWriteBufferNumber ) ;
long handle , int maxWriteBufferNumber ) ;
private native int maxWriteBufferNumber ( long handle ) ;
private native int maxWriteBufferNumber ( long handle ) ;
private native void setBlockSize ( long handle , int blockSize ) ;
private native void setBlockSize ( long handle , long blockSize ) ;
private native int blockSize ( long handle ) ;
private native long blockSize ( long handle ) ;
private native void setDisableSeekCompaction (
private native void setDisableSeekCompaction (
long handle , boolean disableSeekCompaction ) ;
long handle , boolean disableSeekCompaction ) ;
private native boolean disableSeekCompaction ( long handle ) ;
private native boolean disableSeekCompaction ( long handle ) ;