Class FaultInjectionEndpoints
java.lang.Object
com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints
Fault injection endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionGet the feed range.int
Get the replica count.boolean
Get the flag which indicates whether primary replica address can be used.toString()
-
Method Details
-
getFeedRange
Get the feed range.- Returns:
- the feed range.
-
isIncludePrimary
public boolean isIncludePrimary()Get the flag which indicates whether primary replica address can be used.- Returns:
- the flag which indicates whether primary replica address can be used.
-
getReplicaCount
public int getReplicaCount()Get the replica count. This is used to indicate how many physical addresses can be applied the fault injection rule.- Returns:
- the replica count.
-
toString
-