Annotation Interface Ft.Timeout
- Enclosing class:
Ft
The annotated method (or all methods on annotated type) will time out according to the configuration.
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
-
time
String timeDuration of timeout. Defaults toPT10S(10 seconds).- Returns:
- timeout duration
- Default:
"PT10S"
-
currentThread
boolean currentThreadFlag to indicate that code must be executed in current thread instead of in an executor's thread. This flag isfalseby default.- Returns:
- whether to run on current thread (
true), or in an executor's thread (false, default)
- Default:
false
-