Package eu.stratosphere.nephele.ipc

Examples of eu.stratosphere.nephele.ipc.Server


    final int handlerCount = GlobalConfiguration.getInteger(RPC_NUM_HANDLER_KEY, DEFAULT_NUM_HANLDER);
    final int rpcPort = GlobalConfiguration.getInteger(ProfilingUtils.JOBMANAGER_RPC_PORT_KEY,
      ProfilingUtils.JOBMANAGER_DEFAULT_RPC_PORT);
   
    final InetSocketAddress rpcServerAddress = new InetSocketAddress(jobManagerbindAddress, rpcPort);
    Server profilingServerTmp = null;
    try {

      profilingServerTmp = RPC.getServer(this, rpcServerAddress.getHostName(), rpcServerAddress.getPort(),
        handlerCount);
      profilingServerTmp.start();
    } catch (IOException ioe) {
      throw new ProfilingException("Cannot start profiling RPC server: " + StringUtils.stringifyException(ioe));
    }
    this.profilingServer = profilingServerTmp;
View Full Code Here

TOP

Related Classes of eu.stratosphere.nephele.ipc.Server

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.