Class DefaultPartitionAttributesBuilder

java.lang.Object
io.servicetalk.client.api.internal.partition.DefaultPartitionAttributesBuilder
All Implemented Interfaces:
PartitionAttributesBuilder

@Deprecated public final class DefaultPartitionAttributesBuilder extends Object implements PartitionAttributesBuilder
Deprecated.
We are unaware of anyone using "partition" feature and plan to remove it in future releases. If you depend on it, consider using ClientGroup as an alternative or reach out to the maintainers describing the use-case.
Default implementation of PartitionAttributesBuilder.

This class provides a relatively low memory overhead (when compared to TreeMap) for a PartitionAttributes. The goals are to provide fast Object.equals(Object) and Object.hashCode() which do not require intermediate object allocation and pointer traversal (e.g. Iterator).