Class FaultInjectionConnectionErrorResult
java.lang.Object
com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResult
- All Implemented Interfaces:
IFaultInjectionResult
public final class FaultInjectionConnectionErrorResult
extends Object
implements IFaultInjectionResult
Fault injection connection error result.
-
Method Summary
Modifier and TypeMethodDescriptionGet the fault injection connection error type.Get the fault injection error rule apply interval.double
Get the threshold of connections to be closed when the rule is applied.toString()
-
Method Details
-
getErrorType
Get the fault injection connection error type.- Returns:
- the
FaultInjectionConnectionErrorType
.
-
getInterval
Get the fault injection error rule apply interval.- Returns:
- the interval.
-
getThreshold
public double getThreshold()Get the threshold of connections to be closed when the rule is applied.- Returns:
- the threshold.
-
toString
-