Modifier and Type | Method and Description |
---|---|
Runnable |
build()
Create an executable version of the
Check command. |
Check.Builder |
withDebugInterval(long debugInterval)
Number of seconds between successive debug print statements.
|
Check.Builder |
withFullTraversal(boolean fullTraversal)
Should a full traversal of the segment store be performed? This
parameter is not required and defaults to
false . |
Check.Builder |
withJournal(String journal)
The path to the journal of the segment store.
|
Check.Builder |
withMinimumBinaryLength(long minimumBinaryLength)
Minimum amount of bytes to read from binary properties.
|
Check.Builder |
withPath(File path)
The path to an existing segment store.
|
public Check.Builder withPath(File path)
path
- the path to an existing segment store.public Check.Builder withJournal(String journal)
journal
- the path to the journal of the segment store.public Check.Builder withFullTraversal(boolean fullTraversal)
false
.fullTraversal
- true
if a full traversal should be
performed, false
otherwise.public Check.Builder withDebugInterval(long debugInterval)
debugInterval
- number of seconds between successive debug print
statements. It must be positive.public Check.Builder withMinimumBinaryLength(long minimumBinaryLength)
minimumBinaryLength
- minimum amount of bytes to read from
binary properties. If this parameter is
set to -1
, every binary property
is read in its entirety.Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.