Class 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 interface AutoCloseable