Package org.eclipse.jetty.util.thread
Class Locker.Lock
java.lang.Object
org.eclipse.jetty.util.thread.Locker.Lock
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
Locker.UnLock
- Enclosing class:
- Locker
The unlocker object that unlocks when it is closed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Lock
public Lock()
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-