|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD})
public @interface RunBackgroundWith this annotation you can mark methods which should run in background (as separate thread). This is helpful for method you don't expect a result but do some useful jobs like cleanup jobs or other house keeping tasks which can be done in the background.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||