@Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface Timeout
Modifier and Type | Required Element and Description |
---|---|
int |
value
Indicates the amount of time the dispatching thread may wait for a result.
|
public abstract int value
public abstract TimeUnit unit
Copyright © 2010–2018. All rights reserved.