|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the essential access intents available at runtime. The intents are specified in a named component profile and selected by the EJB container at runtime by mapping an application profile task name to the set of available component policies.
Field Summary | |
---|---|
static int |
ACCESS_TYPE_READ
|
static int |
ACCESS_TYPE_UPDATE
|
static int |
COLLECTION_SCOPE_ACTIVITYSESSION
|
static int |
COLLECTION_SCOPE_TRANSACTION
|
static int |
CONCURRENCY_CONTROL_OPTIMISTIC
|
static int |
CONCURRENCY_CONTROL_PESSIMISTIC
|
static int |
PESSIMISTIC_UPDATE_LOCK_HINT_EXCLUSIVE
|
static int |
PESSIMISTIC_UPDATE_LOCK_HINT_NOCOLLISION
|
static int |
PESSIMISTIC_UPDATE_LOCK_HINT_NONE
|
static int |
PESSIMISTIC_UPDATE_LOCK_HINT_WEAKEST_LOCK_AT_LOAD
|
Method Summary | |
---|---|
int |
getAccessType()
Returns access type intent, which indicates the application intends either update or read accesss of the current component in the context of the current transaction. |
int |
getCollectionIncrement()
Returns the number of elements the application requests be contained in each segment of the element collection returned by the currently executing finder. |
int |
getCollectionScope()
Returns the collection scope, which indicates the maximum lifespan of a lazy collection. |
int |
getConcurrencyControl()
Returns the concurrency control intent, which indicates the application prefers either pessimistic or optimistic concurrency control when accessing the current component in the context of the current transaction. |
boolean |
getPessimisticUpdateHintExclusive()
Deprecated. |
boolean |
getPessimisticUpdateHintNoCollision()
Deprecated. |
boolean |
getPessimisticUpdateHintWeakestLockAtLoad()
Deprecated. |
int |
getPessimisticUpdateLockHint()
|
ReadAheadHint |
getReadAheadHint()
Returns the ReadAheadHint requested by the application for the currently executing finder. |
int |
getResourceManagerPreFetchIncrement()
Returns the number of elements the application requests be contained in each segment of a a query made on a database. |
Field Detail |
public static final int CONCURRENCY_CONTROL_PESSIMISTIC
public static final int CONCURRENCY_CONTROL_OPTIMISTIC
public static final int ACCESS_TYPE_UPDATE
public static final int ACCESS_TYPE_READ
public static final int PESSIMISTIC_UPDATE_LOCK_HINT_NOCOLLISION
public static final int PESSIMISTIC_UPDATE_LOCK_HINT_WEAKEST_LOCK_AT_LOAD
public static final int PESSIMISTIC_UPDATE_LOCK_HINT_NONE
public static final int PESSIMISTIC_UPDATE_LOCK_HINT_EXCLUSIVE
public static final int COLLECTION_SCOPE_TRANSACTION
public static final int COLLECTION_SCOPE_ACTIVITYSESSION
Method Detail |
public int getConcurrencyControl()
public int getAccessType()
public boolean getPessimisticUpdateHintWeakestLockAtLoad()
public boolean getPessimisticUpdateHintNoCollision()
public boolean getPessimisticUpdateHintExclusive()
public int getPessimisticUpdateLockHint()
public int getCollectionScope()
public int getCollectionIncrement()
public ReadAheadHint getReadAheadHint()
public int getResourceManagerPreFetchIncrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |