@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Timeout
Modifier and Type | Fields and Description |
---|---|
static long |
NONE
Constant for no timeout.
|
static java.lang.String |
TIMEOUT
Constant for timeout name in non-functional properties.
|
static long |
UNSET
Constant for unset (i.e.
|
Modifier and Type | Optional Element and Description |
---|---|
long |
value
The timeout period after which local or remote invocations
are aborted when no result is received.
|