Class Locker.Lock

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    Locker.UnLock
    Enclosing class:
    Locker

    public class Locker.Lock
    extends java.lang.Object
    implements java.lang.AutoCloseable

    The unlocker object that unlocks when it is closed.

    • Constructor Summary

      Constructors 
      Constructor Description
      Lock()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Lock

        public Lock()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable