/** * Force closing the file and underlying transaction manager. * Used for testing purposed only. */ void forceClose() throws IOException { txnMgr.forceClose(); file.close(); }
/** * Force closing the file and underlying transaction manager. * Used for testing purposed only. */ void forceClose() throws IOException { txnMgr.forceClose(); for(FileChannel buf : fileChannels){ if(buf!=null) buf.close(); } fileChannels = null; for(RandomAccessFile f :rafs){ if(f!=null) f.close(); } rafs = null; }
/** * Force closing the file and underlying transaction manager. * Used for testing purposed only. */ void forceClose() throws IOException { if ( !transactionsDisabled ) { getTxnMgr().forceClose(); } file.close(); }
/** * Force closing the file and underlying transaction manager. * Used for testing purposed only. */ void forceClose() throws IOException { if ( ! transactionsDisabled ) { getTxnMgr().forceClose(); } file.close(); }