Apache Mesos
Namespaces | Functions
jobobject.hpp File Reference
#include <algorithm>
#include <numeric>
#include <set>
#include <string>
#include <stout/bytes.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
#include <stout/try.hpp>
#include <stout/windows.hpp>
#include <stout/os/os.hpp>
#include <stout/os/process.hpp>

Go to the source code of this file.

Namespaces

 os
 

Functions

Try< std::wstring > os::name_job (pid_t pid)
 
Try< SharedHandleos::open_job (const DWORD desired_access, const BOOL inherit_handles, const std::wstring &name)
 
Try< SharedHandleos::open_job (const DWORD desired_access, const BOOL inherit_handles, const pid_t pid)
 
Try< SharedHandleos::create_job (const std::wstring &name)
 
Try< JOBOBJECT_BASIC_ACCOUNTING_INFORMATION > os::get_job_info (pid_t pid)
 
template<size_t max_pids>
Result< std::set< Process > > os::_get_job_processes (const SharedHandle &job_handle)
 
Try< std::set< Process > > os::get_job_processes (pid_t pid)
 
Try< Bytesos::get_job_mem (pid_t pid)
 
Try< Nothingos::set_job_kill_on_close_limit (pid_t pid)
 
Try< Nothingos::set_job_cpu_limit (pid_t pid, double cpus)
 
Try< Nothingos::set_job_mem_limit (pid_t pid, Bytes limit)
 
Try< Nothingos::assign_job (SharedHandle job_handle, pid_t pid)
 
Try< Nothingos::kill_job (SharedHandle job_handle)