public class TimeoutAntn extends MethodAntn implements org.eclipse.microprofile.faulttolerance.Timeout
| Constructor and Description |
|---|
TimeoutAntn(java.lang.reflect.Method method)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.time.temporal.ChronoUnit |
unit() |
void |
validate()
Validate the annotation on this method.
|
long |
value() |
annotationType, getMethod, getParamOverride, getProperty, lookupAnnotationpublic TimeoutAntn(java.lang.reflect.Method method)
method - The method.public void validate()
MethodAntnvalidate in class MethodAntnpublic long value()
public java.time.temporal.ChronoUnit unit()
Copyright © 2018–2019 Oracle Corporation. All rights reserved.