public class GridNodeStartUtils extends Object
GridProjection.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 |
GG_HOME
Key for GridGain home folder.
|
static String |
HOST
Key for hostname.
|
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 GridBiTuple<Collection<Map<String,Object>>,Map<String,Object>> |
parseFile(File file)
Parses INI file.
|
static Map<String,Collection<GridRemoteStartSpecification>> |
specifications(Collection<Map<String,Object>> hosts,
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 GG_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 GridBiTuple<Collection<Map<String,Object>>,Map<String,Object>> parseFile(File file) throws GridException
file - File.GridException - In case of error.public static Map<String,Collection<GridRemoteStartSpecification>> specifications(Collection<Map<String,Object>> hosts, @Nullable Map<String,Object> dflts) throws GridException
hosts - Host configurations.dflts - Default values.GridException - In case of error.public static Set<String> expandHost(String addr) throws GridException
addr - Host with or without `~` range.GridException - In case of error.Copyright © 2014. All rights reserved.