|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.util.ConcurrentUtil
public class ConcurrentUtil
Misc concurrent utilities.
| Constructor Summary | |
|---|---|
ConcurrentUtil()
|
|
| Method Summary | |
|---|---|
static void |
acquire(java.util.concurrent.Semaphore semaphore)
|
static void |
acquire(java.util.concurrent.Semaphore semaphore,
int permits)
|
static void |
waitForRelease(java.util.concurrent.Semaphore semaphore)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcurrentUtil()
| Method Detail |
|---|
public static void acquire(java.util.concurrent.Semaphore semaphore)
public static void acquire(java.util.concurrent.Semaphore semaphore,
int permits)
public static void waitForRelease(java.util.concurrent.Semaphore semaphore)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||