17 #ifndef __SLAVE_GC_PROCESS_HPP__
18 #define __SLAVE_GC_PROCESS_HPP__
56 const std::string& path);
69 PathInfo(
const std::string& _path)
74 return path == that.path;
77 const std::string path;
82 bool removing =
false;
119 #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="")
virtual ~GarbageCollectorProcess()
process::Future< bool > unschedule(const std::string &path)
Definition: duration.hpp:32
Definition: counter.hpp:26
void prune(const Duration &d)
Definition: gc_process.hpp:44
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)
Result< Process > process(pid_t pid)
Definition: freebsd.hpp:30
Definition: timeout.hpp:24
Definition: executor.hpp:29
Definition: process.hpp:493
GarbageCollectorProcess()
Definition: gc_process.hpp:48