Package cern.nxcals.api.ingestion.retry
Class BackupStrategies.BackupConfig.BackupConfigBuilder
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.BackupStrategies.BackupConfig.BackupConfigBuilder
-
- Enclosing class:
- BackupStrategies.BackupConfig
public static class BackupStrategies.BackupConfig.BackupConfigBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupStrategies.BackupConfig.BackupConfigBuilder
backupPath(@NonNull java.nio.file.Path backupPath)
BackupStrategies.BackupConfig.BackupConfigBuilder
bufferSize(int bufferSize)
BackupStrategies.BackupConfig
build()
BackupStrategies.BackupConfig.BackupConfigBuilder
filePrefix(java.lang.String filePrefix)
BackupStrategies.BackupConfig.BackupConfigBuilder
flushBufferFrequency(@NonNull java.time.Duration flushBufferFrequency)
BackupStrategies.BackupConfig.BackupConfigBuilder
nbOfFilesToRestoreInOneGo(int nbOfFilesToRestoreInOneGo)
java.lang.String
toString()
-
-
-
Method Detail
-
backupPath
public BackupStrategies.BackupConfig.BackupConfigBuilder backupPath(@NonNull @NonNull java.nio.file.Path backupPath)
- Returns:
this
.
-
filePrefix
public BackupStrategies.BackupConfig.BackupConfigBuilder filePrefix(java.lang.String filePrefix)
- Returns:
this
.
-
bufferSize
public BackupStrategies.BackupConfig.BackupConfigBuilder bufferSize(int bufferSize)
- Returns:
this
.
-
nbOfFilesToRestoreInOneGo
public BackupStrategies.BackupConfig.BackupConfigBuilder nbOfFilesToRestoreInOneGo(int nbOfFilesToRestoreInOneGo)
- Returns:
this
.
-
flushBufferFrequency
public BackupStrategies.BackupConfig.BackupConfigBuilder flushBufferFrequency(@NonNull @NonNull java.time.Duration flushBufferFrequency)
- Returns:
this
.
-
build
public BackupStrategies.BackupConfig build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-