Interface Locker

    • Method Detail

      • lock

        void lock()
           throws IOException
        Wait the token and then lock the resource.
        Throws:
        IOException - if an error occurs while locking the resource
      • unlock

        void unlock()
             throws IOException
        Unlock the resource.
        Throws:
        IOException - if an error occurs while unlocking the resource