public class IgniteNodeStartUtils extends Object
IgniteCluster.startNodes(..) methods.| Modifier and Type | Field and Description |
|---|---|
static String |
CFG
Key for configuration path.
|
static int |
DFLT_MAX_CONN
Default maximum number of parallel connections.
|
static int |
DFLT_TIMEOUT
Default connection timeout.
|
static String |
HOST
Key for hostname.
|
static String |
IGNITE_HOME
Key for Ignite home folder.
|
static String |
KEY
Key for private key file.
|
static String |
LOGGER
Key for logger.
|
static String |
NODES
Key for number of nodes.
|
static String |
PASSWD
Key for password.
|
static String |
PORT
Key for port number.
|
static String |
SCRIPT
Key for script path.
|
static String |
UNAME
Key for username.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
expandHost(String addr)
Parses and expands range of IPs, if needed.
|
static IgniteBiTuple<Collection<Map<String,Object>>,Map<String,Object>> |
parseFile(File file)
Parses INI file.
|
static Map<String,Collection<IgniteRemoteStartSpecification>> |
specifications(Collection<Map<String,Object>> hosts,
@Nullable Map<String,Object> dflts)
Makes specifications.
|
public static final String HOST
public static final String PORT
public static final String UNAME
public static final String PASSWD
public static final String KEY
public static final String NODES
public static final String IGNITE_HOME
public static final String CFG
public static final String SCRIPT
public static final String LOGGER
public static final int DFLT_TIMEOUT
public static final int DFLT_MAX_CONN
public static IgniteBiTuple<Collection<Map<String,Object>>,Map<String,Object>> parseFile(File file) throws IgniteCheckedException
file - File.IgniteCheckedException - In case of error.public static Map<String,Collection<IgniteRemoteStartSpecification>> specifications(Collection<Map<String,Object>> hosts, @Nullable @Nullable Map<String,Object> dflts) throws IgniteCheckedException
hosts - Host configurations.dflts - Default values.IgniteCheckedException - In case of error.public static Set<String> expandHost(String addr) throws IgniteCheckedException
addr - Host with or without `~` range.IgniteCheckedException - In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021