/** Kernal start latch. */
private CountDownLatch kernalStartLatch = new CountDownLatch(1);
/** {@inheritDoc} */
@Override protected void start0() throws GridException {
GridGgfsConfiguration ggfsCfg = ggfsCtx.configuration();
Map<String,String> cfg = ggfsCfg.getIpcEndpointConfiguration();
if (F.isEmpty(cfg)) {
// Set default configuration.
cfg = new HashMap<>();
cfg.put("type", U.isWindows() ? "tcp" : "shmem");
cfg.put("port", String.valueOf(DFLT_IPC_PORT));
}
if (ggfsCfg.isIpcEndpointEnabled())
bind(cfg, /*management*/false);
if (ggfsCfg.getManagementPort() >= 0) {
cfg = new HashMap<>();
cfg.put("type", "tcp");
cfg.put("port", String.valueOf(ggfsCfg.getManagementPort()));
bind(cfg, /*management*/true);
}
if (bindWorker != null)