|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=METHOD) @Retention(value=SOURCE) public @interface AnyThread
An annotation indicating that a particular method in a class is safe to be called from any thread. This is not allowed on a class because it serves purely as documentation to demonstrate specific situations where methods are intended to be used by both the event dispatch and blocking threads which are generally uncommon.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||