Convert com.twitter.finagle.Addr.Metadata to an instance of ZkMetadata.
Convert com.twitter.finagle.Addr.Metadata to an instance of
ZkMetadata. If ZkMetadata is not present in metadata
,
return None.
Orders a Finagle Address based on a deterministic hash of its shard id.
Orders a Finagle Address based on a deterministic hash of its shard id.
If shard id information is identical, either both lack metadata, both lack a shard id, or both have the same shard id, ordering is then computed by Address.HashOrdering.
Convert ZkMetadata to an instance of com.twitter.finagle.Addr.Metadata.