Interface PartitionMapFactory
-
- All Known Implementing Classes:
PowerSetPartitionMapFactory
public interface PartitionMapFactory
A generic factory forPartitionMap
objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AsyncCloseable>
PartitionMap<T>newPartitionMap(java.util.function.Function<PartitionAttributes,T> valueFactory)
Create a newPartitionMap
object.
-
-
-
Method Detail
-
newPartitionMap
<T extends AsyncCloseable> PartitionMap<T> newPartitionMap(java.util.function.Function<PartitionAttributes,T> valueFactory)
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.
-
-