public static final class ScannerContext.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ScannerContext |
build() |
ScannerContext.Builder |
setBatchLimit(int batchLimit) |
ScannerContext.Builder |
setKeepProgress(boolean keepProgress) |
ScannerContext.Builder |
setSizeLimit(ScannerContext.LimitScope sizeScope,
long sizeLimit) |
ScannerContext.Builder |
setTimeLimit(ScannerContext.LimitScope timeScope,
long timeLimit) |
public ScannerContext.Builder setKeepProgress(boolean keepProgress)
public ScannerContext.Builder setSizeLimit(ScannerContext.LimitScope sizeScope, long sizeLimit)
public ScannerContext.Builder setTimeLimit(ScannerContext.LimitScope timeScope, long timeLimit)
public ScannerContext.Builder setBatchLimit(int batchLimit)
public ScannerContext build()