public class ERXGlobalLock extends Object implements NSLocking
App1:
NSLocking lock = ERXGlobalLock.lockForName("test");
lock.lock();
...
lock.unlock();
App2:
NSLocking lock = ERXGlobalLock.lockForName("test");
lock.lock();
...
lock.unlock();
Constructor and Description |
---|
ERXGlobalLock(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
cleanup()
Call this on startup.
|
void |
lock() |
static NSLocking |
lockForName(String name) |
void |
unlock() |
public ERXGlobalLock(String name)
Copyright © 2002 – 2024 Project Wonder.