17 #ifndef __SLAVE_GC_PROCESS_HPP__ 18 #define __SLAVE_GC_PROCESS_HPP__ 57 const std::string&
path);
70 PathInfo(
const std::string& _path)
75 return path == that.path;
78 const std::string path;
83 bool removing =
false;
101 const std::string workDir;
122 #endif // __SLAVE_GC_PROCESS_HPP__
std::string generate(const std::string &prefix="")
Returns 'prefix(N)' where N represents the number of instances where the same prefix (wrt...
bool operator==(const DockerVolume &left, const DockerVolume &right)
Definition: state.hpp:29
ProcessBase(const std::string &id="")
process::Future< bool > unschedule(const std::string &path)
Definition: duration.hpp:32
Definition: counter.hpp:26
void prune(const Duration &d)
GarbageCollectorProcess(const std::string &_workDir)
Definition: gc_process.hpp:48
Definition: gc_process.hpp:44
Definition: pull_gauge.hpp:46
Try< std::vector< Info > > infos(int familiy, int states)
Protocol< PromiseRequest, PromiseResponse > promise
Definition: multimap.hpp:30
Try< std::vector< Entry > > list(const std::string &hierarchy, const std::string &cgroup)
process::Future< Nothing > schedule(const Duration &d, const std::string &path)
Definition: attributes.hpp:24
Definition: timeout.hpp:24
Definition: executor.hpp:48
Definition: executor.hpp:29
Definition: process.hpp:505
~GarbageCollectorProcess() override