Class Lock


  • public class Lock
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Lock()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void lock()  
      void unlock()  
      • 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

      • lock

        public void lock()
                  throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • unlock

        public void unlock()