Package org.gridgain.structure
Class MapConfiguration.Builder
java.lang.Object
org.gridgain.structure.MapConfiguration.Builder
- Enclosing class:
- MapConfiguration
Builder for
MapConfiguration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theMapConfigurationinstance.distributionZone(@Nullable String distributionZone) Sets the distribution zone of the map.storageProfile(@Nullable String storageProfile) Sets the storage profile of the map.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
distributionZone
Sets the distribution zone of the map.- Parameters:
distributionZone- TheIgniteMap's distribution zone.- Returns:
- This builder.
-
storageProfile
Sets the storage profile of the map.- Parameters:
storageProfile- TheIgniteMap's storage profile.- Returns:
- This builder.
-
build
Builds theMapConfigurationinstance.
IfkeyClassorvalueClassis not natively supported, falls back tobyte[]with corresponding marshaller.- Returns:
- The
MapConfigurationinstance.
-