Package com.yahoo.concurrent
Class Lock
- java.lang.Object
-
- com.yahoo.concurrent.Lock
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public final class Lock extends java.lang.Object implements java.lang.AutoCloseable
An acquired lock which is released on close- Author:
- bratseth
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Releases this lock
-