Class PowerSetPartitionMapFactory
java.lang.Object
io.servicetalk.client.api.internal.partition.PowerSetPartitionMapFactory
- All Implemented Interfaces:
PartitionMapFactory
@Deprecated
public final class PowerSetPartitionMapFactory
extends Object
implements PartitionMapFactory
Deprecated.
A
PartitionMapFactory that generates PowerSetPartitionMap type objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PartitionMapFactoryDeprecated.Singleton instance. -
Method Summary
Modifier and TypeMethodDescription<T extends AsyncCloseable>
PartitionMap<T>newPartitionMap(Function<PartitionAttributes, T> valueFactory) Deprecated.Create a newPartitionMapobject.
-
Field Details
-
INSTANCE
Deprecated.Singleton instance.
-
-
Method Details
-
newPartitionMap
public <T extends AsyncCloseable> PartitionMap<T> newPartitionMap(Function<PartitionAttributes, T> valueFactory) Deprecated.Description copied from interface:PartitionMapFactoryCreate a newPartitionMapobject.- Specified by:
newPartitionMapin interfacePartitionMapFactory- Type Parameters:
T- The value type of a partition.- Parameters:
valueFactory- The factory used to create new partitions.- Returns:
- a new
PartitionMapobject.
-
ClientGroupas an alternative or reach out to the maintainers describing the use-case.