Package cern.nxcals.api.ingestion.retry
Class PublicationRetryer<T>
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.PublicationRetryer<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicationRetryer.PublicationRetryerBuilder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> PublicationRetryer.PublicationRetryerBuilder<T>
builder()
java.util.concurrent.CompletableFuture<java.lang.Void>
retry(T msg)
java.util.concurrent.CompletableFuture<java.lang.Void>
retry(T msg, java.lang.Throwable cause)
PublicationRetryer.PublicationRetryerBuilder<T>
toBuilder()
-
-
-
Method Detail
-
retry
public java.util.concurrent.CompletableFuture<java.lang.Void> retry(T msg, java.lang.Throwable cause)
-
retry
public java.util.concurrent.CompletableFuture<java.lang.Void> retry(T msg)
-
builder
public static <T> PublicationRetryer.PublicationRetryerBuilder<T> builder()
-
toBuilder
public PublicationRetryer.PublicationRetryerBuilder<T> toBuilder()
-
-