@Override public boolean write(byte[] b, int off, int len) throws ExodusException { try { file.write(b, off, len); } catch (IOException ioe) { if (lockingManager.getUsableSpace() < len) { throw new OutOfDiskSpaceException(ioe); } throw new ExodusException("Can't write to file", ioe); } return true; }
@Override public String lockInfo() { return lockingManager.lockInfo(); }
@Override public boolean release() { return lockingManager.release(); }
@Override public boolean lock(long timeout) { return lockingManager.lock(timeout); }