|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutexReEntrant
A reentrant mutex component aims at synchronizing the execution of several components.
Field Summary | |
---|---|
static String |
ITF_NAME
The default name of the MutexReEntrant interface. |
Method Summary | |
---|---|
void |
forceLock(Object o)
Acquires the mutex with parameters that have been returned by a previous call to forceUnlock(). |
Object |
forceUnlock()
Releases the mutex even if it has been acquired several times (by multiple calls to the lock() function). |
Methods inherited from interface org.objectweb.dream.synchro.Mutex |
---|
lock, timedLock, unlock |
Field Detail |
---|
static final String ITF_NAME
MutexReEntrant
interface.
Method Detail |
---|
void forceLock(Object o) throws InterruptedException
o
- parameters that have been returned by a previous call to
forceUnlock().
InterruptedException
- the thread is interrupted.Object forceUnlock()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |