|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface TimeoutThis annotation denotes that a remote method invocation (or all method invocations, if annotating a type) will have a given timeout value.
This annotation must be used within an interface, as opposed to a class definition, in order for it to take effect. In other words, when you write your remote POJO, this annotation must be used in the remote POJO's interface - not its implementation class.
| Required Element Summary | |
|---|---|
long |
value
Sets the amount of time, in milliseconds, that the method (or methods if annotating an interface) will wait before timing out. |
| Element Detail |
|---|
public abstract long value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||