/** * Gets first available file info for fragmentizer. * * @param exclude File IDs to exclude from result. * @return First qualified file info. * @throws IgniteCheckedException If failed to get file for fragmentizer. */ public IgfsEntryInfo fileForFragmentizer(Collection<IgniteUuid> exclude) throws IgniteCheckedException { if (busyLock.enterBusy()) { try { return fileForFragmentizer0(IgfsUtils.ROOT_ID, exclude); } finally { busyLock.leaveBusy(); } } else throw new IllegalStateException("Failed to get file for framentizer because Grid is stopping."); }
IgfsEntryInfo fileInfo = fileForFragmentizer0(entry.fileId(), exclude);
/** * Gets first available file info for fragmentizer. * * @param exclude File IDs to exclude from result. * @return First qualified file info. * @throws IgniteCheckedException If failed to get file for fragmentizer. */ public IgfsEntryInfo fileForFragmentizer(Collection<IgniteUuid> exclude) throws IgniteCheckedException { if (busyLock.enterBusy()) { try { return fileForFragmentizer0(IgfsUtils.ROOT_ID, exclude); } finally { busyLock.leaveBusy(); } } else throw new IllegalStateException("Failed to get file for framentizer because Grid is stopping."); }
IgfsEntryInfo fileInfo = fileForFragmentizer0(entry.fileId(), exclude);