提交 14220442 编写于 作者: A Ankit Gupta

Fix formatting

上级 22d45de2
...@@ -162,7 +162,7 @@ public class Options { ...@@ -162,7 +162,7 @@ public class Options {
/* /*
* Maximum number of concurrent background jobs, submitted to * Maximum number of concurrent background jobs, submitted to
* the default LOW priority thread pool * the default LOW priority thread pool.
* Default: 1 * Default: 1
* *
* @param maximum number of concurrent background jobs. * @param maximum number of concurrent background jobs.
...@@ -174,9 +174,9 @@ public class Options { ...@@ -174,9 +174,9 @@ public class Options {
} }
/* /*
* Returns maximum number of background concurrent jobs * Returns maximum number of background concurrent jobs.
* *
* @return maximum number of background concurrent jobs * @return maximum number of background concurrent jobs.
* @see setMaxBackgroundCompactions * @see setMaxBackgroundCompactions
*/ */
public int maxBackgroundCompactions() { public int maxBackgroundCompactions() {
...@@ -204,13 +204,16 @@ public class Options { ...@@ -204,13 +204,16 @@ public class Options {
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, int writeBufferSize);
private native int writeBufferSize(long handle); private native int writeBufferSize(long handle);
private native void setMaxWriteBufferNumber(long handle, int maxWriteBufferNumber); private native void setMaxWriteBufferNumber(
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, int blockSize);
private native int blockSize(long handle); private native int blockSize(long handle);
private native void setDisableSeekCompaction(long handle, boolean disableSeekCompaction); private native void setDisableSeekCompaction(
long handle, boolean disableSeekCompaction);
private native boolean disableSeekCompaction(long handle); private native boolean disableSeekCompaction(long handle);
private native void setMaxBackgroundCompactions(long handle, int maxBackgroundCompactions); private native void setMaxBackgroundCompactions(
long handle, int maxBackgroundCompactions);
private native int maxBackgroundCompactions(long handle); private native int maxBackgroundCompactions(long handle);
long nativeHandle_; long nativeHandle_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册