Interface Lock.AcquiredLock

All Superinterfaces:
AutoCloseable
Enclosing interface:
Lock

public static interface Lock.AcquiredLock extends AutoCloseable
An acquired lock can be used with try-with-resources for easier releasing.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the lock.