public class StorageRetryCP extends Object implements StorageRetry
| Constructor and Description |
|---|
StorageRetryCP() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.spring.core.properties.retry.BackoffProperties |
getBackoff() |
Integer |
getMaxAttempts() |
String |
getRetryAfterHeader() |
ChronoUnit |
getRetryAfterTimeUnit() |
String |
getSecondaryHost() |
Duration |
getTimeout() |
void |
setMaxAttempts(Integer maxAttempts) |
void |
setRetryAfterHeader(String retryAfterHeader) |
void |
setRetryAfterTimeUnit(ChronoUnit retryAfterTimeUnit) |
void |
setSecondaryHost(String secondaryHost) |
void |
setTimeout(Duration timeout) |
public Integer getMaxAttempts()
getMaxAttempts in interface com.azure.spring.core.aware.RetryAware.Retrypublic String getSecondaryHost()
getSecondaryHost in interface StorageRetrypublic void setMaxAttempts(Integer maxAttempts)
public Duration getTimeout()
getTimeout in interface com.azure.spring.core.aware.RetryAware.Retrypublic void setTimeout(Duration timeout)
public String getRetryAfterHeader()
getRetryAfterHeader in interface com.azure.spring.core.aware.RetryAware.HttpRetrypublic void setRetryAfterHeader(String retryAfterHeader)
public ChronoUnit getRetryAfterTimeUnit()
getRetryAfterTimeUnit in interface com.azure.spring.core.aware.RetryAware.HttpRetrypublic void setRetryAfterTimeUnit(ChronoUnit retryAfterTimeUnit)
public com.azure.spring.core.properties.retry.BackoffProperties getBackoff()
getBackoff in interface com.azure.spring.core.aware.RetryAware.Retrypublic void setSecondaryHost(String secondaryHost)
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.