Package org.apache.ignite
Class InitParametersBuilder
java.lang.Object
org.apache.ignite.InitParametersBuilder
Builder of
InitParameters
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
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:
this
for chaining.
-
metaStorageNodeNames
Sets names of nodes that will host the Meta Storage.- Parameters:
metaStorageNodeNames
- Names of nodes that will host the Meta Storage.- Returns:
this
for chaining.
-
metaStorageNodes
Sets nodes that will host the Meta Storage.- Parameters:
metaStorageNodes
- Nodes that will host the Meta Storage.- Returns:
this
for chaining.
-
metaStorageNodes
Sets nodes that will host the Meta Storage.- Parameters:
metaStorageNodes
- Nodes that will host the Meta Storage.- Returns:
this
for chaining.
-
cmgNodeNames
Sets names of nodes that will host the CMG. If not set,metaStorageNodeNames
will be used.- Parameters:
cmgNodeNames
- Names of nodes that will host the CMG.- Returns:
this
for chaining.
-
cmgNodeNames
Sets names of nodes that will host the CMG. If not set,metaStorageNodeNames
will be used.- Parameters:
cmgNodeNames
- Names of nodes that will host the CMG.- Returns:
this
for 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:
this
for 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:
this
for chaining.
-
clusterName
Sets Human-readable name of the cluster.- Parameters:
clusterName
- Human-readable name of the cluster.- Returns:
this
for chaining.
-
clusterConfiguration
Sets cluster configuration, that will be applied after initialization.- Parameters:
clusterConfiguration
- Cluster configuration.- Returns:
this
for chaining.
-
license
-
build
BuildsInitParameters
.
-