use of org.apache.ignite.thread.IgniteThread in project ignite by apache.
the class IgfsServerManager method start0.
/** {@inheritDoc} */
@Override
protected void start0() throws IgniteCheckedException {
FileSystemConfiguration igfsCfg = igfsCtx.configuration();
if (igfsCfg.isIpcEndpointEnabled()) {
IgfsIpcEndpointConfiguration ipcCfg = igfsCfg.getIpcEndpointConfiguration();
if (ipcCfg == null)
ipcCfg = new IgfsIpcEndpointConfiguration();
bind(ipcCfg, /*management*/
false);
}
if (igfsCfg.getManagementPort() >= 0) {
IgfsIpcEndpointConfiguration mgmtIpcCfg = new IgfsIpcEndpointConfiguration();
mgmtIpcCfg.setType(TCP);
mgmtIpcCfg.setPort(igfsCfg.getManagementPort());
bind(mgmtIpcCfg, /*management*/
true);
}
if (bindWorker != null)
new IgniteThread(bindWorker).start();
}
Aggregations