Annotation Type RmiTimeout


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface RmiTimeout
Defines a timeout for all method invocations of this Class or methods.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
    The duration in milliseconds of this timeout.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Field Details

    • DEFAULT_INVOCATION_TIMEOUT

      static final long DEFAULT_INVOCATION_TIMEOUT
      See Also:
  • Element Details

    • value

      long value
      The duration in milliseconds of this timeout.
      Returns:
      timeout duration in milliseconds; must be a non-negative number
      Default:
      60000L