Package com.avaje.ebeaninternal.server.lib

Examples of com.avaje.ebeaninternal.server.lib.DaemonThreadPool


   * @param shutdownWaitSeconds
   *            the time in seconds allowed for the pool to shutdown nicely.
   *            After this the pool is forced to shutdown.
   */
  public DefaultBackgroundExecutor(int schedulePoolSize, int corePoolSize, long keepAliveSecs,int shutdownWaitSeconds, String namePrefix) {
    this.pool = new DaemonThreadPool(corePoolSize, keepAliveSecs, shutdownWaitSeconds, namePrefix);
    this.schedulePool = new DaemonScheduleThreadPool(schedulePoolSize, shutdownWaitSeconds, namePrefix+"-periodic-");
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.lib.DaemonThreadPool

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.