Class ZoneDefinition.Builder
java.lang.Object
org.apache.ignite.catalog.definitions.ZoneDefinition.Builder
- Enclosing class:
- ZoneDefinition
Builder for the zone definition.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the zone definition.consistencyMode
(String consistencyMode) Sets consistency mode.dataNodesAutoAdjust
(Integer adjust) Sets timeout in seconds between node added or node left topology event itself and data nodes switch.dataNodesAutoAdjustScaleDown
(Integer adjust) Sets timeout in seconds between node left topology event itself and data nodes switch.dataNodesAutoAdjustScaleUp
(Integer adjust) Sets timeout in seconds between node added topology event itself and data nodes switch.distributionAlgorithm
(String distributionAlgorithm) Sets the distribution algorithm.Sets nodes filter.Sets the not exists flag.partitions
(Integer partitions) Sets the number of partitions.Sets the number of replicas.storageProfiles
(String storageProfiles) Sets the storage profiles.
-
Method Details
-
ifNotExists
Sets the not exists flag.- Returns:
- This builder instance.
-
partitions
Sets the number of partitions.- Parameters:
partitions
- Number of partitions.- Returns:
- This builder instance.
-
replicas
Sets the number of replicas.- Parameters:
replicas
- Number of replicas.- Returns:
- This builder instance.
-
distributionAlgorithm
Sets the distribution algorithm.- Parameters:
distributionAlgorithm
- Distribution algorithm.- Returns:
- This builder instance.
-
dataNodesAutoAdjust
Sets timeout in seconds between node added or node left topology event itself and data nodes switch.- Parameters:
adjust
- Timeout.- Returns:
- This builder instance.
-
dataNodesAutoAdjustScaleUp
Sets timeout in seconds between node added topology event itself and data nodes switch.- Parameters:
adjust
- Timeout.- Returns:
- This builder instance.
-
dataNodesAutoAdjustScaleDown
Sets timeout in seconds between node left topology event itself and data nodes switch.- Parameters:
adjust
- Timeout.- Returns:
- This builder instance.
-
filter
Sets nodes filter.- Parameters:
filter
- Nodes filter.- Returns:
- This builder instance.
-
storageProfiles
Sets the storage profiles.- Parameters:
storageProfiles
- Storage profiles.- Returns:
- This builder instance.
-
consistencyMode
Sets consistency mode.- Parameters:
consistencyMode
- Consistency mode.- Returns:
- This builder instance.
-
build
Builds the zone definition.- Returns:
- Zone definition.
-