Class AsynchronousPolicy
- java.lang.Object
-
- fish.payara.microprofile.faulttolerance.policy.Policy
-
- fish.payara.microprofile.faulttolerance.policy.AsynchronousPolicy
-
- All Implemented Interfaces:
Serializable
public final class AsynchronousPolicy extends Policy
The resolved "cached" information of aAsynchronous
annotation an a specific method.- Author:
- Jan Bernitt
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsynchronousPolicy
create(jakarta.interceptor.InvocationContext context, FaultToleranceConfig config)
boolean
isSuccessWhenCompletedExceptionally()
static Future<?>
toFuture(Object asyncResult)
-
Methods inherited from class fish.payara.microprofile.faulttolerance.policy.Policy
checkAtLeast, checkAtLeast, checkAtLeast, checkAtMost, checkReturnsSameAs, checkReturnsSameAs, describe, isCaught
-
-
-
-
Method Detail
-
create
public static AsynchronousPolicy create(jakarta.interceptor.InvocationContext context, FaultToleranceConfig config)
-
isSuccessWhenCompletedExceptionally
public boolean isSuccessWhenCompletedExceptionally()
-
-