|
|
@ -26,7 +26,7 @@ public interface MutableColumnFamilyOptionsInterface< |
|
|
|
* @throws java.lang.IllegalArgumentException thrown on 32-Bit platforms |
|
|
|
* @throws java.lang.IllegalArgumentException thrown on 32-Bit platforms |
|
|
|
* while overflowing the underlying platform specific value. |
|
|
|
* while overflowing the underlying platform specific value. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
MutableColumnFamilyOptionsInterface setWriteBufferSize(long writeBufferSize); |
|
|
|
T setWriteBufferSize(long writeBufferSize); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Return size of write buffer size. |
|
|
|
* Return size of write buffer size. |
|
|
@ -43,8 +43,7 @@ public interface MutableColumnFamilyOptionsInterface< |
|
|
|
* @param disableAutoCompactions true if auto-compactions are disabled. |
|
|
|
* @param disableAutoCompactions true if auto-compactions are disabled. |
|
|
|
* @return the reference to the current option. |
|
|
|
* @return the reference to the current option. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
MutableColumnFamilyOptionsInterface setDisableAutoCompactions( |
|
|
|
T setDisableAutoCompactions(boolean disableAutoCompactions); |
|
|
|
boolean disableAutoCompactions); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Disable automatic compactions. Manual compactions can still |
|
|
|
* Disable automatic compactions. Manual compactions can still |
|
|
@ -64,8 +63,7 @@ public interface MutableColumnFamilyOptionsInterface< |
|
|
|
* level-0 compaction |
|
|
|
* level-0 compaction |
|
|
|
* @return the reference to the current option. |
|
|
|
* @return the reference to the current option. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
MutableColumnFamilyOptionsInterface setLevel0FileNumCompactionTrigger( |
|
|
|
T setLevel0FileNumCompactionTrigger(int level0FileNumCompactionTrigger); |
|
|
|
int level0FileNumCompactionTrigger); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Number of files to trigger level-0 compaction. A value < 0 means that |
|
|
|
* Number of files to trigger level-0 compaction. A value < 0 means that |
|
|
@ -86,7 +84,7 @@ public interface MutableColumnFamilyOptionsInterface< |
|
|
|
* @return the reference to the current option. |
|
|
|
* @return the reference to the current option. |
|
|
|
* @see #maxCompactionBytes() |
|
|
|
* @see #maxCompactionBytes() |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
MutableColumnFamilyOptionsInterface setMaxCompactionBytes(final long maxCompactionBytes); |
|
|
|
T setMaxCompactionBytes(final long maxCompactionBytes); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* We try to limit number of bytes in one compaction to be lower than this |
|
|
|
* We try to limit number of bytes in one compaction to be lower than this |
|
|
|