August 2019
Intermediate to advanced
256 pages
6h 43m
English
The @Timeout annotation could be applied to a class or method to make sure that an operation doesn't last forever:
@Timeout(200)public void operationCouldTimeout() { ...}
In the preceding example, the operation will be stopped should it last more than 200 ms.
Read now
Unlock full access