Package com.google.code.hs4j.network.core.impl

Examples of com.google.code.hs4j.network.core.impl.PoolDispatcher


*/
public class DispatcherFactory {
  public static com.google.code.hs4j.network.core.Dispatcher newDispatcher(
      int size, RejectedExecutionHandler rejectedExecutionHandler,String prefix) {
    if (size > 0) {
      return new PoolDispatcher(size, 60, TimeUnit.SECONDS,
          rejectedExecutionHandler,prefix);
    } else {
      return null;
    }
  }
View Full Code Here

TOP

Related Classes of com.google.code.hs4j.network.core.impl.PoolDispatcher

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.