Diffusion Ark 88acd3039008

Refactor archive loading

Authored by elvisangelaccio on Oct 2 2016, 2:00 PM.

Description

Refactor archive loading

Ark currently loads an archive by using Archive *Archive::create() first
and then ListJob *archive->list(). If an archive property is read
*before* list() is called, the archive is listed in the background with
listIfNotListed().
This design is responsible for a lot or problems (see T1877, T3296 and T330).

This commit refactors ListJob in a new LoadJob class. Is not possible
anymore to create an archive and then list() it. Instead, a LoadJob is
started first and then the archive can be retrieved at the end of the
job.

Differential Revision: D2811

Details

Committed
elvisangelaccioOct 2 2016, 2:00 PM
Differential Revision
D2811: Refactor archive loading
Parents
R36:8cb2ca5f284c: Merge branch 'Applications/16.08'
Branches
Unknown
Tags
Unknown

Wrong task number in the commit message. It was supposed to be T3300 instead of T330.