Class NodeIndexCalculator

java.lang.Object
com.couchbase.client.core.service.kv.NodeIndexCalculator

@Internal public class NodeIndexCalculator extends Object
  • Constructor Details

  • Method Details

    • canUseNode

      public boolean canUseNode(String documentId, int replicaIndex, boolean isActive)
    • canUseNodeForActive

      public boolean canUseNodeForActive(String documentId)
    • canUseNodeForReplica

      public boolean canUseNodeForReplica(String documentId, int replicaIndex)
    • check

      public boolean check(int nodeIndex)