Annotation Interface Asynchronous


@Retention(RUNTIME) @Target(METHOD) public @interface Asynchronous
Indicates that a given method should be executed asynchronously through the RMI service. This must annotate the method on the shared interface for it to have an effect. If reliable=false is specified then remote method invocation is done over UDP instead of TCP, ie: unreliably... but faster.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • reliable

      boolean reliable
      Default:
      true