Package cern.nxcals.api.ingestion.retry
Class RetryConfig
- java.lang.Object
-
- cern.nxcals.api.ingestion.retry.RetryConfig
-
public class RetryConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetryConfig.RetryConfigBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryConfig.RetryConfigBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.function.Predicate<java.lang.Integer>
getAcceptAttempt()
java.util.function.Function<java.lang.Integer,java.time.Duration>
getDelayAttempt()
int
hashCode()
boolean
isShouldBackup()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static RetryConfig.RetryConfigBuilder builder()
-
getDelayAttempt
public java.util.function.Function<java.lang.Integer,java.time.Duration> getDelayAttempt()
-
getAcceptAttempt
public java.util.function.Predicate<java.lang.Integer> getAcceptAttempt()
-
isShouldBackup
public boolean isShouldBackup()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-