public class GlobalLock extends Object
Constructor and Description |
---|
GlobalLock() |
Modifier and Type | Method and Description |
---|---|
static void |
acquire() |
static void |
release() |
static void |
tryToAcquire() |
public static void acquire() throws InterruptedException
InterruptedException
public static void tryToAcquire()
public static void release()