Interface PartitionMapFactory
- All Known Implementing Classes:
PowerSetPartitionMapFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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 newPartitionMapobject.
-
Method Details
-
newPartitionMap
<T extends AsyncCloseable> PartitionMap<T> newPartitionMap(Function<PartitionAttributes, T> valueFactory) Deprecated.Create a newPartitionMapobject.- 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.