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
Modifier and TypeFieldDescriptionstatic final PartitionMapFactory
Deprecated.Singleton instance. -
Method Summary
Modifier and TypeMethodDescription<T extends AsyncCloseable>
PartitionMap<T>newPartitionMap
(Function<PartitionAttributes, T> valueFactory) Deprecated.Create a newPartitionMap
object.
-
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:PartitionMapFactory
Create a newPartitionMap
object.- Specified by:
newPartitionMap
in interfacePartitionMapFactory
- Type Parameters:
T
- The value type of a partition.- Parameters:
valueFactory
- The factory used to create new partitions.- Returns:
- a new
PartitionMap
object.
-
ClientGroup
as an alternative or reach out to the maintainers describing the use-case.