Code example for FileLock

Methods: release

0
      { 
         return true; 
      } 
      else 
      { 
         liveAttemptLock.release();
         return false; 
      } 
   } 
 
   public boolean isLiveLocked() 
   { 
      return liveLock != null;
   } 
 
 
   @Override 
   public void interrupt() 
   { 
      interrupted = true;