Class ErrorsPerIntervalBlacklistingStrategyConfig
java.lang.Object
org.distributeme.core.routing.blacklisting.ErrorsPerIntervalBlacklistingStrategyConfig
Created by rboehling on 2/23/17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidsetErrorsPerIntervalThreshold(int errorsPerIntervalThreshold) voidsetIntervalDurationInSeconds(int intervalDurationInSeconds) voidsetRequiredNumberOfIntervalsWithErrors(int requiredNumberOfIntervalsWithErrors) toString()
-
Constructor Details
-
ErrorsPerIntervalBlacklistingStrategyConfig
public ErrorsPerIntervalBlacklistingStrategyConfig()
-
-
Method Details
-
getErrorsPerIntervalThreshold
public int getErrorsPerIntervalThreshold() -
getIntervalDurationInSeconds
public int getIntervalDurationInSeconds() -
getRequiredNumberOfIntervalsWithErrors
public int getRequiredNumberOfIntervalsWithErrors() -
setErrorsPerIntervalThreshold
public void setErrorsPerIntervalThreshold(int errorsPerIntervalThreshold) -
setIntervalDurationInSeconds
public void setIntervalDurationInSeconds(int intervalDurationInSeconds) -
setRequiredNumberOfIntervalsWithErrors
public void setRequiredNumberOfIntervalsWithErrors(int requiredNumberOfIntervalsWithErrors) -
toString
-