@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface StatefulTimeout
The semantics of the value element are as follows:
Values less than -1 are not valid.>
0 indicates a timeout value in the units
specified by the unit
element.
Modifier and Type | Required Element and Description |
---|---|
long |
value
The amount of time the stateful session bean can be idle.
|
Modifier and Type | Optional Element and Description |
---|---|
java.util.concurrent.TimeUnit |
unit
Units used for the specified value.
|
public abstract long value
>
0 indicates a timeout value in the units
specified by the unit
element.