@Override public void create(File file, long treeId, long segmentId) throws IOException { FileUtil.createFile(file); if (!file.createNewFile()) { throw new IOException(String.format("Unable to create file %s.", file)); } }
@Override public boolean delete(File file, long treeId, long segmentId) { FileUtil.deleteFile(file); return true; }