/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }
/** * Unlock and close the file. Note that if the unlock fails we set the * return value to false to indicate an error but rely on the close to * really do the unlock. */ protected boolean unlockAndClose(File fd, RandomAccessFile rf) { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PRIVATE, FacilityCode.FAC_OBJECT_STORE, "RandomAccessFile.unlockAndClose(" + fd + ", " + rf + ")"); } boolean closedOk = unlock(fd); try { rf.close(); } catch (Exception e) { closedOk = false; } return closedOk; }