Package org.apache.ignite
Class InitParametersBuilder
java.lang.Object
org.apache.ignite.InitParametersBuilder
Builder of
InitParameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendClusterConfiguration(String clusterConfiguration) Append provided cluster configurationclusterConfigurationto current cluster config.build()BuildsInitParameters.clusterConfiguration(String clusterConfiguration) Sets cluster configuration, that will be applied after initialization.clusterName(String clusterName) Sets Human-readable name of the cluster.cmgNodeNames(String... cmgNodeNames) Sets names of nodes that will host the CMG.cmgNodeNames(Collection<String> cmgNodeNames) Sets names of nodes that will host the CMG.cmgNodes(Collection<IgniteServer> cmgNodes) Sets nodes that will host the CMG.cmgNodes(IgniteServer... cmgNodes) Sets nodes that will host the CMG.metaStorageNodeNames(String... metaStorageNodeNames) Sets names of nodes that will host the Meta Storage.metaStorageNodeNames(Collection<String> metaStorageNodeNames) Sets names of nodes that will host the Meta Storage.metaStorageNodes(Collection<IgniteServer> metaStorageNodes) Sets nodes that will host the Meta Storage.metaStorageNodes(IgniteServer... metaStorageNodes) Sets nodes that will host the Meta Storage.
-
Constructor Details
-
InitParametersBuilder
public InitParametersBuilder()
-
-
Method Details
-
metaStorageNodeNames
Sets names of nodes that will host the Meta Storage.- Parameters:
metaStorageNodeNames- Names of nodes that will host the Meta Storage.- Returns:
thisfor chaining.
-
metaStorageNodeNames
Sets names of nodes that will host the Meta Storage.- Parameters:
metaStorageNodeNames- Names of nodes that will host the Meta Storage.- Returns:
thisfor chaining.
-
metaStorageNodes
Sets nodes that will host the Meta Storage.- Parameters:
metaStorageNodes- Nodes that will host the Meta Storage.- Returns:
thisfor chaining.
-
metaStorageNodes
Sets nodes that will host the Meta Storage.- Parameters:
metaStorageNodes- Nodes that will host the Meta Storage.- Returns:
thisfor chaining.
-
cmgNodeNames
Sets names of nodes that will host the CMG. If not set,metaStorageNodeNameswill be used.- Parameters:
cmgNodeNames- Names of nodes that will host the CMG.- Returns:
thisfor chaining.
-
cmgNodeNames
Sets names of nodes that will host the CMG. If not set,metaStorageNodeNameswill be used.- Parameters:
cmgNodeNames- Names of nodes that will host the CMG.- Returns:
thisfor chaining.
-
cmgNodes
Sets nodes that will host the CMG. If not set,metaStorageNodes(org.apache.ignite.IgniteServer...)will be used.- Parameters:
cmgNodes- Nodes that will host the CMG.- Returns:
thisfor chaining.
-
cmgNodes
Sets nodes that will host the CMG. If not set,metaStorageNodes(org.apache.ignite.IgniteServer...)will be used.- Parameters:
cmgNodes- Nodes that will host the CMG.- Returns:
thisfor chaining.
-
clusterName
Sets Human-readable name of the cluster.- Parameters:
clusterName- Human-readable name of the cluster.- Returns:
thisfor chaining.
-
clusterConfiguration
Sets cluster configuration, that will be applied after initialization.- Parameters:
clusterConfiguration- Cluster configuration.- Returns:
thisfor chaining.
-
appendClusterConfiguration
Append provided cluster configurationclusterConfigurationto current cluster config.- Parameters:
clusterConfiguration- Cluster configuration.- Returns:
thisfor chaining.
-
license
-
build
BuildsInitParameters.
-