|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Conflict Table is a table that for each pair of lock modes specifies whether they are conflicting or not. It is not necesarilly symmetric (to support e.g. "update locks" and other non-symmetreic locks) and transitive.
| Method Summary | |
java.lang.String[] |
getLockModes()
Gets lock modes. |
boolean |
isConflict(java.lang.String requestMode,
java.lang.String holdMode)
Tests if there is conflict between two lock modes. |
| Method Detail |
public boolean isConflict(java.lang.String requestMode,
java.lang.String holdMode)
throws ConflictUndefinedException
requestMode - requested lock modeholdMode - hold lock mode
ConflictUndefinedException - if conflict between given lock modes is
undefinedpublic java.lang.String[] getLockModes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||