Interface ShardConfiguration.Builder

    • Method Detail

      • slots

        ShardConfiguration.Builder slots​(String slots)

        A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

        Parameters:
        slots - A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicaCount

        ShardConfiguration.Builder replicaCount​(Integer replicaCount)

        The number of read replica nodes in this shard.

        Parameters:
        replicaCount - The number of read replica nodes in this shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.