#include <CommitPackageCacheReadAhead.h>
Inheritance diagram for zypp::target::CommitPackageCacheReadAhead:

Public Member Functions | |
| CommitPackageCacheReadAhead (const_iterator begin_r, const_iterator end_r, const Pathname &rootDir_r, const PackageProvider &packageProvider_r) | |
| virtual ManagedFile | get (const_iterator citem_r) |
| Provide the package. | |
Private Types | |
| typedef std::map< PoolItem, ManagedFile > | CacheMap |
Private Member Functions | |
| bool | onInteractiveMedia (const PoolItem &pi) const |
| Return whether pi is located on a CD/DVD. | |
| void | cacheLastInteractive (const_iterator citem_r) |
| Fill the cache. | |
| void | doCacheLastInteractive (const_iterator citem_r) |
| cacheLastInteractive helper . | |
Private Attributes | |
| DefaultIntegral< unsigned, 0 > | _dbgChanges |
| const_iterator | _commitListEnd |
| IMediaKey | _lastInteractive |
| Pathname | _rootDir |
| shared_ptr< filesystem::TmpDir > | _cacheDir |
| CacheMap | _cacheMap |
Definition at line 78 of file CommitPackageCacheReadAhead.h.
|
|
Definition at line 80 of file CommitPackageCacheReadAhead.h. |
|
||||||||||||||||||||
|
Definition at line 51 of file CommitPackageCacheReadAhead.cc. |
|
|
Provide the package. Either from Source or from cache. Definition at line 190 of file CommitPackageCacheReadAhead.cc. References _cacheMap, MIL, onInteractiveMedia(), and zypp::target::CommitPackageCache::Impl::sourceProvidePackage(). |
|
|
Return whether pi is located on a CD/DVD.
Definition at line 65 of file CommitPackageCacheReadAhead.cc. Referenced by get(). |
|
|
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 78 of file CommitPackageCacheReadAhead.cc. References _lastInteractive, doCacheLastInteractive(), WAR, and ZYPP_CAUGHT. |
|
|
cacheLastInteractive helper .
Definition at line 97 of file CommitPackageCacheReadAhead.cc. References _cacheMap, _commitListEnd, and _lastInteractive. Referenced by cacheLastInteractive(). |
|
|
Definition at line 108 of file CommitPackageCacheReadAhead.h. |
|
|
Definition at line 110 of file CommitPackageCacheReadAhead.h. Referenced by doCacheLastInteractive(). |
|
|
Definition at line 111 of file CommitPackageCacheReadAhead.h. Referenced by cacheLastInteractive(), and doCacheLastInteractive(). |
|
|
Definition at line 113 of file CommitPackageCacheReadAhead.h. |
|
|
Definition at line 114 of file CommitPackageCacheReadAhead.h. |
|
|
Definition at line 115 of file CommitPackageCacheReadAhead.h. Referenced by doCacheLastInteractive(), and get(). |
1.4.6