public static class RabbitProperties.Retry extends Object
Constructor and Description |
---|
Retry() |
Modifier and Type | Method and Description |
---|---|
Duration |
getInitialInterval() |
int |
getMaxAttempts() |
Duration |
getMaxInterval() |
double |
getMultiplier() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setInitialInterval(Duration initialInterval) |
void |
setMaxAttempts(int maxAttempts) |
void |
setMaxInterval(Duration maxInterval) |
void |
setMultiplier(double multiplier) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getMaxAttempts()
public void setMaxAttempts(int maxAttempts)
public Duration getInitialInterval()
public void setInitialInterval(Duration initialInterval)
public double getMultiplier()
public void setMultiplier(double multiplier)
public Duration getMaxInterval()
public void setMaxInterval(Duration maxInterval)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.