Package tools.refinery.store.map
Interface VersionedMapStoreFactory<K,V>
- All Known Implementing Classes:
DeltaBasedVersionedMapStoreFactory,StateBasedVersionedMapStoreFactory
public interface VersionedMapStoreFactory<K,V>
-
Method Summary
Modifier and TypeMethodDescriptioncreateGroup(int amount) Constructs a group ofVersionedMaps with the same configuration.Constructs a new instance ofVersionedMap.
-
Method Details
-
createOne
VersionedMapStore<K,V> createOne()Constructs a new instance ofVersionedMap.- Returns:
- The new instance.
-
createGroup
Constructs a group ofVersionedMaps with the same configuration. If possible, the stores share resources with each other.- Parameters:
amount- The amount of new instances to be created.- Returns:
- A list of new stores with the given number of elements.
-