Class FaultInjectionEndpoints

java.lang.Object
com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints

public final class FaultInjectionEndpoints extends Object
Fault injection endpoints.
  • Method Details

    • getFeedRange

      public FeedRange 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

      public String toString()
      Overrides:
      toString in class Object