static Compact.Builder |
Compact.builder() |
Create a builder for the Compact command.
|
Compact.Builder |
Compact.Builder.withCompactorType(SegmentGCOptions.CompactorType compactorType) |
The compactor type to be used by compaction.
|
Compact.Builder |
Compact.Builder.withConcurrency(int concurrency) |
The number of threads to be used for compaction.
|
Compact.Builder |
Compact.Builder.withForce(boolean force) |
Whether to fail if run on an older version of the store of force
upgrading its format.
|
Compact.Builder |
Compact.Builder.withGCLogInterval(long gcLogInterval) |
The number of nodes after which an update about the compaction
process is logged.
|
Compact.Builder |
Compact.Builder.withGCType(SegmentGCOptions.GCType gcType) |
The garbage collection type used.
|
Compact.Builder |
Compact.Builder.withMmap(@Nullable java.lang.Boolean mmap) |
Whether to use memory mapped access or file access.
|
Compact.Builder |
Compact.Builder.withOs(java.lang.String os) |
Which operating system the code is running on.
|
Compact.Builder |
Compact.Builder.withPath(java.io.File path) |
The path to an existing segment store.
|
Compact.Builder |
Compact.Builder.withSegmentCacheSize(int segmentCacheSize) |
The size of the segment cache in MB.
|