Package com.hazelcast.map
Interface MapStoreFactory<K,V>
- Type Parameters:
K
- type of the MapStore keyV
- type of the MapStore value
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory for MapLoader or MapStore instances, specifiable in MapStoreConfig.
-
Method Summary
Modifier and TypeMethodDescriptionnewMapStore
(String mapName, Properties properties) Produces a MapLoader or a MapStore for the given map name and properties.
-
Method Details
-
newMapStore
Produces a MapLoader or a MapStore for the given map name and properties. This method will be executed as part of a Hazelcast member's post-join operations, therefore it needs to adhere to the rules for post join operations, as described inPostJoinAwareService.getPostJoinOperation()
.- Parameters:
mapName
- name of the distributed map that the produced MapLoader or MapStore will serveproperties
- the properties of the MapStoreConfig for the produced MapLoader or MapStore
-