|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) public @interface Timeout
This class or method has a timeout used for synchronous calls.
TimeUnit
,
Future.get(long,TimeUnit)
Required Element Summary | |
---|---|
long |
duration
|
TimeUnit |
timeUnit
|
Element Detail |
---|
public abstract long duration
public abstract TimeUnit timeUnit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |