#include <fetcher_process.hpp>
mesos::internal::slave::FetcherProcess::Cache::Cache |
( |
Bytes |
_space | ) |
|
|
inlineexplicit |
virtual mesos::internal::slave::FetcherProcess::Cache::~Cache |
( |
| ) |
|
|
inlinevirtual |
Try<Nothing> mesos::internal::slave::FetcherProcess::Cache::adjust |
( |
const std::shared_ptr< Cache::Entry > & |
entry | ) |
|
Bytes mesos::internal::slave::FetcherProcess::Cache::availableSpace |
( |
| ) |
const |
void mesos::internal::slave::FetcherProcess::Cache::claimSpace |
( |
const Bytes & |
bytes | ) |
|
bool mesos::internal::slave::FetcherProcess::Cache::contains |
( |
const Option< std::string > & |
user, |
|
|
const std::string & |
uri |
|
) |
| const |
bool mesos::internal::slave::FetcherProcess::Cache::contains |
( |
const std::shared_ptr< Cache::Entry > & |
entry | ) |
const |
std::shared_ptr<Entry> mesos::internal::slave::FetcherProcess::Cache::create |
( |
const std::string & |
cacheDirectory, |
|
|
const Option< std::string > & |
user, |
|
|
const CommandInfo::URI & |
uri |
|
) |
| |
Option<std::shared_ptr<Entry> > mesos::internal::slave::FetcherProcess::Cache::get |
( |
const Option< std::string > & |
user, |
|
|
const std::string & |
uri |
|
) |
| |
std::string mesos::internal::slave::FetcherProcess::Cache::nextFilename |
( |
const CommandInfo::URI & |
uri | ) |
|
void mesos::internal::slave::FetcherProcess::Cache::releaseSpace |
( |
const Bytes & |
bytes | ) |
|
virtual Try<Nothing> mesos::internal::slave::FetcherProcess::Cache::remove |
( |
const std::shared_ptr< Entry > & |
entry | ) |
|
|
virtual |
Try<Nothing> mesos::internal::slave::FetcherProcess::Cache::reserve |
( |
const Bytes & |
requestedSpace | ) |
|
Try<std::list<std::shared_ptr<Cache::Entry> > > mesos::internal::slave::FetcherProcess::Cache::selectVictims |
( |
const Bytes & |
requiredSpace | ) |
|
size_t mesos::internal::slave::FetcherProcess::Cache::size |
( |
| ) |
const |
Bytes mesos::internal::slave::FetcherProcess::Cache::totalSpace |
( |
| ) |
const |
Bytes mesos::internal::slave::FetcherProcess::Cache::usedSpace |
( |
| ) |
const |
The documentation for this class was generated from the following file: