Class FaultInjectionServerErrorResult
java.lang.Object
com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResult
- All Implemented Interfaces:
IFaultInjectionResult
Fault injection server error result.
-
Method Details
-
getServerErrorType
Get the fault injection server error type.- Returns:
- the
FaultInjectionServerErrorType
.
-
getTimes
Get the number of how many times the rule can be applied on a single operation.- Returns:
- the times.
-
getDelay
Get the injected delay for the server error. Will be required for SERVER_RESPONSE_DELAY and SERVER_CONNECTION_DELAY, will be ignored for others.- Returns:
- the injected delay.
-
toString
-