/** * Stop the retransmitter and reset the nak window<br> */ public void destroy() { try { lock.writeLock().acquire(); try { if(retransmitter != null) retransmitter.stop(); _reset(); } finally { lock.writeLock().release(); } } catch(InterruptedException e) { Thread.currentThread().interrupt(); // GemStoneAddition log.error(ExternalStrings.NakReceiverWindow_FAILED_ACQUIRING_WRITE_LOCK, e); } }