Interface KetamaRingNode

All Known Implementing Classes:
HostAndServicePorts, NodeInfo

@Internal public interface KetamaRingNode
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a node's host and non-TLS KV port from the "default" network.
  • Method Details

    • ketamaAuthority

      @Nullable HostAndPort ketamaAuthority()
      Returns a node's host and non-TLS KV port from the "default" network.

      Used with Memcached buckets to determine which document IDs this node is responsible for.

      If the node has no non-TLS KV port, then this method returns null, and the node cannot participate in a ketama ring.