Package reactor.support

Examples of reactor.support.NamedDaemonThreadFactory


                   int opsBufferSize) {
    Assert.notNull(dataSupplier, "Data Supplier cannot be null.");
    Assert.notNull(consumer, "Consumer cannot be null.");
    Assert.notNull(errorConsumers, "Error Consumers Registry cannot be null.");

    executor = Executors.newCachedThreadPool(new NamedDaemonThreadFactory("processor"));

    if (opsBufferSize < 1) {
      this.opsBufferSize = 256 * Runtime.getRuntime().availableProcessors();
    } else {
      this.opsBufferSize = opsBufferSize;
View Full Code Here


      this.zmqOpts = (ZeroMQServerSocketOptions) options;
    } else {
      this.zmqOpts = null;
    }

    this.threadPool = Executors.newCachedThreadPool(new NamedDaemonThreadFactory("zmq-server"));
  }
View Full Code Here

      this.zmqOpts = (ZeroMQClientSocketOptions) options;
    } else {
      this.zmqOpts = null;
    }

    this.threadPool = Executors.newCachedThreadPool(new NamedDaemonThreadFactory("zmq-client"));
  }
View Full Code Here

TOP

Related Classes of reactor.support.NamedDaemonThreadFactory

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.