Annotation Interface Timeout


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Timeout
Annotation allow applying Timeout to a specific method When applied to method, method may throw TimeoutExhaustedException when all timeout occured
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details