Examples of executePeriodically()


Examples of com.avaje.ebean.BackgroundExecutor.executePeriodically()

  public void init(EbeanServer server) {
   
    TrimTask trim = new TrimTask();
   
    BackgroundExecutor executor = server.getBackgroundExecutor();
    executor.executePeriodically(trim, trimFrequency, TimeUnit.SECONDS);
  }
 
 
 
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.