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