Annotation Interface Timeout
Class or method level annotation that indicates the calling thread should not wait longer than the provided timeout
for the results of a command.
- Since:
- 2.0
- Author:
- Allard Buijze
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionintIndicates the amount of time the dispatching thread may wait for a result. -
Optional Element Summary
Optional Elements
-
Element Details
-
value
int valueIndicates the amount of time the dispatching thread may wait for a result. -
unit
TimeUnit unitIndicates the unit in which the timeout is declared. Defaults to milliseconds.- Default:
MILLISECONDS
-