Package net.jodah.lyra.internal.util.concurrent

Examples of net.jodah.lyra.internal.util.concurrent.NamedThreadFactory


    this.config = config;
    this.connectionName =
        options.getName() == null ? String.format("cxn-%s", CONNECTION_COUNTER.incrementAndGet())
            : options.getName();
    consumerThreadPool =
        options.getConsumerExecutor() == null ? Executors.newCachedThreadPool(new NamedThreadFactory(
            String.format("rabbitmq-%s-consumer", connectionName))) : options.getConsumerExecutor();
  }
View Full Code Here

TOP

Related Classes of net.jodah.lyra.internal.util.concurrent.NamedThreadFactory

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.