@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface EntityCacheRef
Modifier and Type | Required Element and Description |
---|---|
Constants.ConcurrencyStrategy |
concurrencyStrategy
(ReadOnly|Exclusive|Database) Defines the concurrency strategy for this bean.
|
java.lang.String |
name
Names the cache.
|
Modifier and Type | Optional Element and Description |
---|---|
Constants.Bool |
cacheBetweenTransactions
(True|False) Sets whether to cache the persistent data of an entity bean across (between) transactions.
|
java.lang.String |
estimatedBeanSize
Specifies the estimated average size of the instances of an entity bean, in bytes.
|
int |
idleTimeoutSeconds
Maximum duration an EJB should stay in the cache.
|
int |
readTimeoutSeconds
The number of seconds between each ejbLoad() call on a read-only entity bean.
|
public abstract Constants.ConcurrencyStrategy concurrencyStrategy
public abstract int idleTimeoutSeconds
public abstract int readTimeoutSeconds
public abstract Constants.Bool cacheBetweenTransactions