public class Locker extends Object
try(Locker.Lock lock = locker.lock()) { // something }
Modifier and Type | Class and Description |
---|---|
class |
Locker.Lock |
Constructor and Description |
---|
Locker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLocked() |
Locker.Lock |
lock() |
Condition |
newCondition() |
public Locker.Lock lock()
public boolean isLocked()
public Condition newCondition()
Copyright © 1995-2016 Webtide. All Rights Reserved.