|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface LockItf implement a lock for writting reading and deleting
- shared variable
mutex| Field Summary | |
static int |
DELETE
Lock status delete |
static int |
READ_WRITE
Lock status ReadWrite |
| Method Summary | |
int |
getStatus()
getStatus return the status of lock return int reprsenting the status READ_WRITE or DELETE |
boolean |
lockDelete()
Lock in deleting acces return boolean true if the lock is taken |
boolean |
lockRead()
Lock in reading acces return boolean true if the lock is taken |
boolean |
lockWrite()
Lock in writting acces return boolean true if the lock is taken |
boolean |
unLockRead()
Unlock in reading acces return boolean true if the lock is left |
boolean |
unLockWrite()
Unlock in writting acces return boolean true if the lock is left |
| Field Detail |
public static final int DELETE
public static final int READ_WRITE
| Method Detail |
public int getStatus()
throws java.lang.Exception
public boolean lockDelete()
throws java.lang.Exception
public boolean lockRead()
throws java.lang.Exception
public boolean lockWrite()
throws java.lang.Exception
public boolean unLockRead()
throws java.lang.Exception
public boolean unLockWrite()
throws java.lang.Exception
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||