Class Semaphore
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.db.Semaphore
"Real" binary semaphore, where subsequent calls to release do not
make the semaphore be able to acquire more than the maximum permits.
- Author:
- Tomas Westling <tomas.westling@sonyericsson.com>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Semaphore
public Semaphore()Standard constructor.
-
-
Method Details
-
acquire
- Throws:
InterruptedException
- if the java.util.concurrent.Semaphore is interrupted.- See Also:
-
release
public void release()
-