@Retention(value=CLASS)
@Target(value=METHOD)
public @interface OnAppStart
Mark a method to be a job that must be run after Application started up
public abstract boolean async
Indicate if the job should be run synchronously with application or asynchronously.
Running job synchronously means the application will not start servicing incoming requests until the job is finished.
Running job asynchronously means the job will start in a separate thread and will not block the app from servicing incoming requests
true
if the annotated method shall be executed asynchronously or false
if the method all be executed synchronouslyCopyright © 2014–2017 ActFramework. All rights reserved.