Package eu.stratosphere.runtime.io.network

Examples of eu.stratosphere.runtime.io.network.ChannelManager


        ConfigConstants.TASK_MANAGER_NETTY_HIGH_WATER_MARK,
        ConfigConstants.DEFAULT_TASK_MANAGER_NETTY_HIGH_WATER_MARK);

    // Initialize the channel manager
    try {
      this.channelManager = new ChannelManager(
          this.lookupService, this.localInstanceConnectionInfo,
          numBuffers, bufferSize, numInThreads, numOutThreads, lowWaterMark, highWaterMark);
    } catch (IOException ioe) {
      LOG.error(StringUtils.stringifyException(ioe));
      throw new Exception("Failed to instantiate Byte-buffered channel manager. " + ioe.getMessage(), ioe);
View Full Code Here


    final CountDownLatch latch = new CountDownLatch(this.numSubtasks);

    // --------------------------------------------------------------------
    // setup
    // --------------------------------------------------------------------
    ChannelManager channelManager = mock(ChannelManager.class);
    doAnswer(new VerifyEnvelopes(latch)).when(channelManager).dispatchFromNetwork(Matchers.<Envelope>anyObject());

    NettyConnectionManager connManagerToTest = new NettyConnectionManager(channelManager, localhost,
        BIND_PORT, HIGH_WATERMARK, this.numInThreads, this.numOutThreads, -1, -1);
View Full Code Here

TOP

Related Classes of eu.stratosphere.runtime.io.network.ChannelManager

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.