Grid factory class. It can be used to create a org.apache.ignite.configuration.IgniteConfiguration or the org.apache.ignite.Ignite instance directly
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
GRID_NAME |
|
static java.lang.String |
NODE_ROLE |
|
static java.lang.String |
SESSIONS_CACHE |
| Constructor and description |
|---|
IgGridFactory
(java.lang.String role, java.util.Map config)Create a grid factory object for the given role and configuration params |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
cacheConfig(org.apache.ignite.configuration.IgniteConfiguration cfg) |
|
protected void |
checkAndSet(java.lang.Object discoverCfg, java.lang.String name, java.lang.Object defValue = null ) |
|
org.apache.ignite.configuration.IgniteConfiguration |
config()Main factory method, creates the IgniteConfiguration object
@return |
|
nextflow.util.ClusterConfig |
getClusterConfig() |
|
static org.apache.ignite.Ignite |
ignite() |
|
static IgGridFactory |
instance() |
|
org.apache.ignite.Ignite |
start()Creates teh config object and starts a Ignite instance |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a grid factory object for the given role and configuration params
role - The role for the cluster member to be configured, either master or workerconfig - a Map holding the configuration properties to be used Main factory method, creates the IgniteConfiguration object
Creates teh config object and starts a Ignite instance