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 int
getProcessesWaiting()
Get the number of processes waiting.void
lock()
Wait the token and then lock the resource.void
unlock()
Unlock the resource.
-
-
-
Method Detail
-
lock
public void lock()
Description copied from interface:Locker
Wait the token and then lock the resource.
-
unlock
public void unlock()
Description copied from interface:Locker
Unlock the resource.
-
getProcessesWaiting
public int getProcessesWaiting()
Get the number of processes waiting.- Returns:
- the number of process waiting
-
-