/** * @param start Start. * @param len Length. * @param nodes Affinity nodes. */ public GridGgfsBlockLocationImpl(long start, long len, Collection<GridNode> nodes) { assert start >= 0; assert len > 0; assert nodes != null && !nodes.isEmpty(); this.start = start; this.len = len; convertFromNodes(nodes); }
/** * @param start Start. * @param len Length. * @param nodes Affinity nodes. */ public GridGgfsBlockLocationImpl(long start, long len, Collection<GridNode> nodes) { assert start >= 0; assert len > 0; assert nodes != null && !nodes.isEmpty(); this.start = start; this.len = len; convertFromNodes(nodes); }