Package cern.nxcals.api.ingestion.retry
Class RecoveryStrategies
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.RecoveryStrategies
-
public final class RecoveryStrategies extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecoveryStrategies.RecoveryConfig
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> RecoveryStrategy
basicStrategy(@NonNull java.util.concurrent.ScheduledExecutorService executor, @NonNull BackupStrategy<T> backupStrategy, @NonNull RecoveryStrategies.RecoveryConfig config, @NonNull Retryer<T> retryer)
-
-
-
Method Detail
-
basicStrategy
public static <T> RecoveryStrategy basicStrategy(@NonNull @NonNull java.util.concurrent.ScheduledExecutorService executor, @NonNull @NonNull BackupStrategy<T> backupStrategy, @NonNull @NonNull RecoveryStrategies.RecoveryConfig config, @NonNull @NonNull Retryer<T> retryer)
-
-