-
public final class DiskBufferingConfiguration.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private booleanenabledprivate intmaxCacheSizeprivate ExportScheduleHandlerexportScheduleHandler
-
Method Summary
Modifier and Type Method Description DiskBufferingConfiguration.BuildersetEnabled(boolean enabled)Enables or disables disk buffering. DiskBufferingConfiguration.BuildersetMaxCacheSize(int maxCacheSize)Sets the maximum amount of bytes that this tool can use to store cached signals in disk.A smaller amount of space will be used if there's not enough space in disk to allocatethe value provided here. DiskBufferingConfiguration.BuildersetExportScheduleHandler(ExportScheduleHandler exportScheduleHandler)Sets a scheduler that will take care of periodically read data stored in disk and exportit. DiskBufferingConfigurationbuild()-
-
Method Detail
-
setEnabled
DiskBufferingConfiguration.Builder setEnabled(boolean enabled)
Enables or disables disk buffering.
-
setMaxCacheSize
DiskBufferingConfiguration.Builder setMaxCacheSize(int maxCacheSize)
Sets the maximum amount of bytes that this tool can use to store cached signals in disk.A smaller amount of space will be used if there's not enough space in disk to allocatethe value provided here.
-
setExportScheduleHandler
DiskBufferingConfiguration.Builder setExportScheduleHandler(ExportScheduleHandler exportScheduleHandler)
Sets a scheduler that will take care of periodically read data stored in disk and exportit.
-
build
DiskBufferingConfiguration build()
-
-
-
-