Package com.avaje.ebean

Examples of com.avaje.ebean.BackgroundExecutor


 
  public void init(EbeanServer server) {
   
    TrimTask trim = new TrimTask();
   
    BackgroundExecutor executor = server.getBackgroundExecutor();
    executor.executePeriodically(trim, trimFrequency, TimeUnit.SECONDS);
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebean.BackgroundExecutor

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.