Class ReplicationResponse.ShardInfo

    • Method Detail

      • getTotal

        public int getTotal()
        Returns:
        the total number of shards the write should go to (replicas and primaries). This includes relocating shards, so this number can be higher than the number of shards.
      • getSuccessful

        public int getSuccessful()
        Returns:
        the total number of shards the write succeeded on (replicas and primaries). This includes relocating shards, so this number can be higher than the number of shards.
      • getFailed

        public int getFailed()
        Returns:
        The total number of replication failures.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object