Package jmri

Annotation Type InvokeOnAnyThread


  • @Retention(CLASS)
    @Target({METHOD,CONSTRUCTOR})
    @Documented
    @Inherited
    public @interface InvokeOnAnyThread
    Annotation denoting that a method or constructor may be called on any thread.

    This annotation implies a method is ThreadSafe, but says nothing about whether or not a class is ThreadSafe.

    For more information on JMRI threading conventions, see the JMRI Threading docoumentation page.