public interface LockableStream
Modifier and Type | Method and Description |
---|---|
boolean |
lock(boolean shared,
boolean block)
Lock the shared advisory lock.
|
boolean |
unlock()
Unlock the advisory lock.
|
boolean lock(boolean shared, boolean block)
boolean unlock()