Class ClusterShard


  • public final class ClusterShard
    extends java.lang.Object
    • Method Detail

      • name

        public java.util.Optional<java.lang.String> name()
        Returns:
        Name of this node. * `endpoint`
      • nodes

        public java.util.List<ClusterShardNode> nodes()
        Returns:
        Set of nodes in this shard.
      • numNodes

        public java.util.Optional<java.lang.Integer> numNodes()
        Returns:
        Number of individual nodes in this shard.
      • slots

        public java.util.Optional<java.lang.String> slots()
        Returns:
        Keyspace for this shard. Example: `0-16383`.