Modifier and Type | Method and Description |
---|---|
Runnable |
build()
Create an executable version of the
Compact command. |
Compact.Builder |
withForce(boolean force)
Set whether or not to force compact concurrent commits on top of
already compacted commits after the maximum number of retries has
been reached.
|
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 withForce(boolean force)
force
- true
to force an exclusive commit of the
compacted state, false
otherwise.Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.