@RequestScoped @Timeout(value=2000L) @Asynchronous public class AsyncClassLevelTimeoutClient extends Object
| Constructor and Description |
|---|
AsyncClassLevelTimeoutClient() |
| Modifier and Type | Method and Description |
|---|---|
Future<Connection> |
serviceA()
serviceA is a slow running service that will take 5 seconds in normal operation.
|
public Future<Connection> serviceA() throws InterruptedException
InterruptedException - the interrupted exceptionCopyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.