/** * Resolve affinity nodes for specified part of file. * * @param info File info to resolve affinity nodes for. * @param start Start position in the file. * @param len File part length to get affinity for. * @return Affinity blocks locations. * @throws GridException If failed. */ public Collection<GridGgfsBlockLocation> affinity(GridGgfsFileInfo info, long start, long len) throws GridException { return affinity(info, start, len, 0); }
/** * Resolve affinity nodes for specified part of file. * * @param info File info to resolve affinity nodes for. * @param start Start position in the file. * @param len File part length to get affinity for. * @return Affinity blocks locations. * @throws GridException If failed. */ public Collection<GridGgfsBlockLocation> affinity(GridGgfsFileInfo info, long start, long len) throws GridException { return affinity(info, start, len, 0); }
path); return data.affinity(info, start, len, maxLen);
path); return data.affinity(info, start, len, maxLen);