Package cern.nxcals.api.ingestion.retry
Class BackupStrategies
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.BackupStrategies
-
public final class BackupStrategies extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackupStrategies.BackupConfig
static interface
BackupStrategies.BackupEventListener
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> BackupStrategy<T>
asyncJavaSerializationToLocalFile(@NonNull BackupStrategies.BackupConfig config, @NonNull java.util.concurrent.ScheduledExecutorService executor)
static <T> BackupStrategy<T>
asyncJavaSerializationToLocalFile(@NonNull BackupStrategies.BackupConfig config, @NonNull java.util.concurrent.ScheduledExecutorService executor, BackupStrategies.BackupEventListener eventListener)
-
-
-
Method Detail
-
asyncJavaSerializationToLocalFile
public static <T> BackupStrategy<T> asyncJavaSerializationToLocalFile(@NonNull @NonNull BackupStrategies.BackupConfig config, @NonNull @NonNull java.util.concurrent.ScheduledExecutorService executor)
-
asyncJavaSerializationToLocalFile
public static <T> BackupStrategy<T> asyncJavaSerializationToLocalFile(@NonNull @NonNull BackupStrategies.BackupConfig config, @NonNull @NonNull java.util.concurrent.ScheduledExecutorService executor, @NonNull BackupStrategies.BackupEventListener eventListener)
-
-