Fix formatting

This commit is contained in:
Ankit Gupta 2014-04-08 09:27:24 -07:00
parent 22d45de2ed
commit 14220442a7
2 changed files with 11 additions and 8 deletions

View File

@ -162,7 +162,7 @@ public class Options {
/*
* Maximum number of concurrent background jobs, submitted to
* the default LOW priority thread pool
* the default LOW priority thread pool.
* Default: 1
*
* @param maximum number of concurrent background jobs.
@ -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
*/
public int maxBackgroundCompactions() {
@ -204,13 +204,16 @@ public class Options {
private native boolean createIfMissing(long handle);
private native void setWriteBufferSize(long handle, int writeBufferSize);
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 void setBlockSize(long handle, int blockSize);
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 void setMaxBackgroundCompactions(long handle, int maxBackgroundCompactions);
private native void setMaxBackgroundCompactions(
long handle, int maxBackgroundCompactions);
private native int maxBackgroundCompactions(long handle);
long nativeHandle_;

View File

@ -130,7 +130,7 @@ jint Java_org_rocksdb_Options_blockSize(
*/
void Java_org_rocksdb_Options_setDisableSeekCompaction(
JNIEnv* env, jobject jobj, jlong jhandle,
jboolean jdisable_seek_compaction) {
jboolean jdisable_seek_compaction) {
reinterpret_cast<rocksdb::Options*>(jhandle)->disable_seek_compaction =
jdisable_seek_compaction;
}
@ -152,7 +152,7 @@ jboolean Java_org_rocksdb_Options_disableSeekCompaction(
*/
void Java_org_rocksdb_Options_setMaxBackgroundCompactions(
JNIEnv* env, jobject jobj, jlong jhandle,
jint jmax_background_compactions) {
jint jmax_background_compactions) {
reinterpret_cast<rocksdb::Options*>(jhandle)->max_background_compactions =
jmax_background_compactions;
}