|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
lock state of an AspectRow
The three supported LockModes in Backend are SHARED (S), SHARED_PROMOTABLE (SP) and EXCLUSIVE (E).
| Method Summary | |
boolean |
hasExclusiveLock()
returns true,true iff an exclusive lock is acquired for the AspectRow |
boolean |
hasExclusiveLockFailed()
returns true, iff the last lock request failed for the AspectRow and it was an
exclusive lock request |
boolean |
hasLock()
returns true, iff any lock is aquired for the AspectRow |
boolean |
hasLockFailed()
returns true, iff the last lock request failed for the AspectRow |
boolean |
hasSharedLock()
returns true, iff a shared lock or an exclusive lock is acquired for the AspectRow. |
boolean |
hasSharedLockFailed()
returns true, iff the last lock request failed for the AspectRow and it was an shared lock request. |
boolean |
hasSharedPromotableLock()
returns true, iff a shared promotable lock is acquired for the AspectRow. |
boolean |
hasSharedPromotableLockFailed()
returns true, iff the last lock request failed for the AspectRow and it was an
shared promotable lock request |
boolean |
isEditable()
returns true, iff a shared promotable lock or an exclusive lock was acquired or a
shared lock was acquired with the SHARED_WITH_EXCLUSIVE_LOCK_ON_UPDATE strategy for the AspectRow,
so that a client can change this AspectRow |
| Method Detail |
public boolean hasLock()
true, iff any lock is aquired for the AspectRowtrue, iff any lock is aquired for the AspectRowpublic boolean hasLockFailed()
true, iff the last lock request failed for the AspectRowtrue, iff the last lock request failed for the AspectRowpublic boolean hasExclusiveLock()
true,true iff an exclusive lock is acquired for the AspectRowtrue,true iff an exclusive lock is acquired for the AspectRowpublic boolean hasExclusiveLockFailed()
true, iff the last lock request failed for the AspectRow and it was an
exclusive lock requesttrue, iff the last lock request failed for the AspectRow and it was an exclusive lock requestpublic boolean hasSharedPromotableLock()
true, iff a shared promotable lock is acquired for the AspectRow.true, iff a shared promotable lock is acquired for the AspectRow.public boolean hasSharedPromotableLockFailed()
true, iff the last lock request failed for the AspectRow and it was an
shared promotable lock requesttrue, iff the last lock request failed for the AspectRow and it was an
shared promotable lock requestpublic boolean hasSharedLock()
true, iff a shared lock or an exclusive lock is acquired for the AspectRow.true, iff a shared lock or an exclusive lock is acquired for the AspectRow.public boolean hasSharedLockFailed()
true, iff the last lock request failed for the AspectRow and it was an shared lock request.true, iff the last lock request failed for the AspectRow and it was an shared lock request.public boolean isEditable()
true, iff a shared promotable lock or an exclusive lock was acquired or a
shared lock was acquired with the SHARED_WITH_EXCLUSIVE_LOCK_ON_UPDATE strategy for the AspectRow,
so that a client can change this AspectRowtrue, iff a shared promotable lock or an exclusive lock was acquired or a
shared lock was acquired with the SHARED_WITH_EXCLUSIVE_LOCK_ON_UPDATE strategy for the AspectRow,
so that a client can change this AspectRow
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||