Interface PartitionMapFactory
- All Known Implementing Classes:
PowerSetPartitionMapFactory
Deprecated.
A generic factory for
PartitionMap
objects.-
Method Summary
Modifier and TypeMethodDescription<T extends AsyncCloseable>
PartitionMap<T>newPartitionMap
(Function<PartitionAttributes, T> valueFactory) Deprecated.Create a newPartitionMap
object.
-
Method Details
-
newPartitionMap
<T extends AsyncCloseable> PartitionMap<T> newPartitionMap(Function<PartitionAttributes, T> valueFactory) Deprecated.Create a newPartitionMap
object.- 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.