|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.objectweb.jotm.impl.core.conflict.LockConversionTable
Lock conversion table is a mean for converting a mode by which a lock is acquired. The class implements the lock conversion table that calculates suprema of given lock modes from the given conflict table.
| Constructor Summary | |
LockConversionTable(ConflictTable iConflictTable)
Constructs a lock conversion table based on the given conflict table. |
|
| Method Summary | |
java.lang.String |
getSupremum(java.lang.String requestMode,
java.lang.String holdMode)
Gets supremum of the given lock modes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LockConversionTable(ConflictTable iConflictTable)
iConflictTable - conflict table| Method Detail |
public java.lang.String getSupremum(java.lang.String requestMode,
java.lang.String holdMode)
throws NoSupremumException
requestMode - requested lock modeholdMode - acquired lock mode
NoSupremumException - if supremum does not exist for given
lock modes
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||