Class TabletMap.HostShardPair

  • Enclosing class:
    TabletMap

    public static class TabletMap.HostShardPair
    extends Object
    Simple class to hold UUID of a host and a shard number. Class itself makes no checks or guarantees about existence of a shard on corresponding host.
    • Constructor Detail

      • HostShardPair

        public HostShardPair​(UUID host,
                             int shard)
    • Method Detail

      • getHost

        public UUID getHost()
      • getShard

        public int getShard()