Class ExecLock
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.util.locker.ExecLock
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetProcessesWaiting()Get the number of processes waiting.voidlock()Wait the token and then lock the resource.voidunlock()Unlock the resource.
-
-
-
Method Detail
-
lock
public void lock()
Description copied from interface:LockerWait the token and then lock the resource.
-
unlock
public void unlock()
Description copied from interface:LockerUnlock the resource.
-
getProcessesWaiting
public int getProcessesWaiting()
Get the number of processes waiting.- Returns:
- the number of process waiting
-
-