| Modifier and Type | Method and Description |
|---|---|
Runnable |
build()
Create an executable version of the
Compact command. |
Compact.Builder |
withMmap(Boolean mmap)
Whether to use memory mapped access or file access.
|
Compact.Builder |
withPath(File path)
The path to an existing segment store.
|
public Compact.Builder withPath(File path)
path - the path to an existing segment store.public Compact.Builder withMmap(@Nullable Boolean mmap)
mmap - true for memory mapped access, false for file access
null to determine the access mode from the system architecture:
memory mapped on 64 bit systems, file access on 32 bit systems.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.