| Modifier and Type | Method and Description |
|---|---|
Options |
build() |
Options.Builder |
cacheSizeItems(int cacheSizeItems) |
Options.Builder |
cacheType(CacheType cacheType)
Sets the cache type used by the queue storage mechanism.
|
Options.Builder |
delayError(boolean delayError)
Sets if errors are delayed or not when detected.
|
Options.Builder |
fileFactory(rx.functions.Func0<File> fileFactory)
Sets the file factory to be used by the queue storage mechanism.
|
Options.Builder |
storageSizeLimitMB(double storageSizeLimitMB) |
public Options.Builder fileFactory(rx.functions.Func0<File> fileFactory)
File.createTempFile("bufferToFileDb","") if
this method is not called. MapDB for instance creates two files, one
without extension and the other a .p file.fileFactory - the factorypublic Options.Builder cacheType(CacheType cacheType)
CacheType.NO_CACHE if this method is not called.cacheType - the type of cachepublic Options.Builder cacheSizeItems(int cacheSizeItems)
public Options.Builder storageSizeLimitMB(double storageSizeLimitMB)
public 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.