Class Lock

java.lang.Object
com.yahoo.concurrent.Lock
All Implemented Interfaces:
AutoCloseable

public final class Lock extends Object implements AutoCloseable
An acquired lock which is released on close
Author:
bratseth
  • Method Details

    • close

      public void close()
      Releases this lock
      Specified by:
      close in interface AutoCloseable