/** * Close the underlying link used to access the files. */ public void closeCommunicationLink() { synchronized (this) { doCloseCommunicationLink(); } }
/** * Close the underlying link used to access the files. */ public void closeCommunicationLink() { synchronized (this) { doCloseCommunicationLink(); } }
/** * Close the underlying link used to access the files. */ public void closeCommunicationLink() { synchronized (this) { doCloseCommunicationLink(); } }
/** * Close the underlying link used to access the files. */ public void closeCommunicationLink() { myLock.lock(); try { doCloseCommunicationLink(); } finally { myLock.unlock(); } }
/** * Close the underlying link used to access the files if it's possible to do immediately * * @see #closeCommunicationLink() */ private boolean tryCloseCommunicationLink() { if (myLock.tryLock()) { try { doCloseCommunicationLink(); return true; } finally { myLock.unlock(); } } return false; } //[IntelliJ] no freezes on dispose ---------