Package com.yahoo.concurrent
Class Lock
- java.lang.Object
-
- com.yahoo.concurrent.Lock
-
- All Implemented Interfaces:
AutoCloseable
public final class Lock extends Object implements AutoCloseable
An acquired lock which is released on close- Author:
- bratseth
-
-
Method Detail
-
close
public void close()
Releases this lock- Specified by:
close
in interfaceAutoCloseable
-
-