Modifier and Type | Method and Description |
---|---|
Options.Builder |
bufferSizeBytes(int bufferSizeBytes) |
Options |
build() |
Options.Builder |
delayError(boolean delayError)
Sets if errors are delayed or not when detected.
|
Options.Builder |
disableRollover() |
Options.Builder |
fileFactory(rx.functions.Func0<File> fileFactory)
Sets the file factory to be used by the queue storage mechanism.
|
Options.Builder |
rolloverEvery(long rolloverEvery) |
Options.Builder |
rolloverSizeBytes(long rolloverSizeBytes) |
Options.Builder |
rolloverSizeMB(double rolloverSizeMB) |
public Options.Builder rolloverSizeMB(double rolloverSizeMB)
public Options.Builder rolloverSizeBytes(long rolloverSizeBytes)
public Options.Builder disableRollover()
public Options.Builder bufferSizeBytes(int bufferSizeBytes)
public Options.Builder rolloverEvery(long rolloverEvery)
public Options.Builder fileFactory(rx.functions.Func0<File> fileFactory)
File.createTempFile("bufferToFileDb","")
if
this method is not called.fileFactory
- the factorypublic Options.Builder delayError(boolean delayError)
false
if this method not called.delayError
- if true errors do not shortcut the queue.public Options build()
Copyright © 2013–2016. All rights reserved.