Annotation Type Synchronous


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Synchronous
    If void methods are declared synchronous they will block the caller until the method has been executed on the remote side (exceptions thus can arrive). Synchronous methods are discouraged as they may lead to deadlocks. Applicable for methods with void return value that are asynchronous by default.