- Hands-On Enterprise Java Microservices with Eclipse MicroProfile
- Cesar Saavedra Heiko W. Rupp Jeff Mesnil Pavol Loffay Antoine Sabot Durand Scott Stark
- 46字
- 2021-06-24 12:56:23
The @Timeout policy
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.
推薦閱讀
- Yii Application Development Cookbook(Second Edition)
- 雷達饋線技術
- WordPress Web Application Development
- jQuery Mobile Web Development Essentials
- 網絡安全應急響應技術實戰指南
- INSTANT LinkedIn Customization How-to
- Dart Cookbook
- 華為HCIA-Datacom認證指南
- 深入理解計算機網絡
- 新媒體交互藝術
- 計算機通信網絡安全
- Python API Development Fundamentals
- 物聯網商業設計與案例
- 學術虛擬社區用戶社會化交互行為研究
- LiveCode Mobile Development Beginner's Guide