|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Timed
Specifies a timed method invocation of a method on a managed bean. Timed methods are tied to the lifecycle of the bean which they are declared on. Therefore, repeating timers cannot be stopped unless the host bean is destroyed.
Required Element Summary | |
---|---|
int |
interval
The interval of the timer. |
TimeUnit |
timeUnit
The time unit of the specified interval. |
TimerType |
type
The type of timer to run. |
Element Detail |
---|
public abstract TimerType type
TimerType
public abstract TimeUnit timeUnit
public abstract int interval
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |