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