libzypp
13.10.6
|
#include <CommitPackageCacheReadAhead.h>
Public Member Functions | |
CommitPackageCacheReadAhead (const Pathname &, const PackageProvider &packageProvider_r) | |
virtual ManagedFile | get (const PoolItem &citem_r) |
Provide the package. More... | |
![]() | |
Impl (const PackageProvider &packageProvider_r) | |
virtual | ~Impl () |
void | setCommitList (std::vector< sat::Solvable > commitList_r) |
const std::vector < sat::Solvable > & | commitList () const |
Private Member Functions | |
bool | onInteractiveMedia (const PoolItem &pi) const |
Return whether pi is located on a CD/DVD. More... | |
void | cacheLastInteractive (const PoolItem &citem_r) |
Fill the cache. More... | |
void | doCacheLastInteractive (const PoolItem &citem_r) |
cacheLastInteractive helper . More... | |
Private Attributes | |
DefaultIntegral< unsigned, 0 > | _dbgChanges |
IMediaKey | _lastInteractive |
Additional Inherited Members | |
![]() | |
typedef CommitPackageCache::PackageProvider | PackageProvider |
![]() | |
virtual ManagedFile | sourceProvidePackage (const PoolItem &pi) const |
Let the Source provide the package. More... | |
virtual ManagedFile | sourceProvideCachedPackage (const PoolItem &pi) const |
Let the Source provide an already cached package. More... | |
![]() | |
std::ostream & | operator<< (std::ostream &str, const CommitPackageCache::Impl &obj) |
Definition at line 83 of file CommitPackageCacheReadAhead.h.
zypp::target::CommitPackageCacheReadAhead::CommitPackageCacheReadAhead | ( | const Pathname & | , |
const PackageProvider & | packageProvider_r | ||
) |
Definition at line 53 of file CommitPackageCacheReadAhead.cc.
|
virtual |
Provide the package.
Either from Source or from cache.
Reimplemented from zypp::target::CommitPackageCache::Impl.
Definition at line 141 of file CommitPackageCacheReadAhead.cc.
|
private |
Return whether pi is located on a CD/DVD.
Definition at line 64 of file CommitPackageCacheReadAhead.cc.
|
private |
Fill the cache.
Called before changing from one interactive media to another. Performs the read ahead of packages trying to avoid the necessity of switching back to the current media later.
Definition at line 79 of file CommitPackageCacheReadAhead.cc.
|
private |
cacheLastInteractive helper .
Definition at line 98 of file CommitPackageCacheReadAhead.cc.
|
private |
Definition at line 109 of file CommitPackageCacheReadAhead.h.
|
private |
Definition at line 110 of file CommitPackageCacheReadAhead.h.