| Package | Description |
|---|---|
| org.jboss.invocation |
| Modifier and Type | Field and Description |
|---|---|
static AsynchronousInterceptor.ResultSupplier |
AsynchronousInterceptor.ResultSupplier.CANCELLED
A result supplier that throws a cancellation exception.
|
| Modifier and Type | Method and Description |
|---|---|
static AsynchronousInterceptor.ResultSupplier |
AsynchronousInterceptor.ResultSupplier.failed(Exception cause)
Create a failed result supplier that throws the given exception.
|
static AsynchronousInterceptor.ResultSupplier |
AsynchronousInterceptor.ResultSupplier.succeeded(Object result)
Create a result supplier that returns the given result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AsynchronousInterceptor.ResultHandler.setResult(AsynchronousInterceptor.ResultSupplier resultSupplier)
Indicate that the invocation is complete, and that the result can be read from the given supplier.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.