|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface OnApplicationStart
A job run at application start. Jobs can be executed in the background if you set async == true. This will make your app start accepting incoming requests faster.
Optional Element Summary | |
---|---|
boolean |
async
set this to true if you want the job to run in the background when your application starts. |
public abstract boolean async
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |