Apache Mesos
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
mesos::internal::tests::MemoryTestHelper Class Reference

#include <memory_test_helper.hpp>

Inheritance diagram for mesos::internal::tests::MemoryTestHelper:
Subcommand

Public Member Functions

 MemoryTestHelper ()
 
 ~MemoryTestHelper () override
 
Try< Nothingspawn ()
 
void cleanup ()
 
Try< pid_tpid ()
 
Try< NothingincreaseRSS (const Bytes &size)
 
Try< NothingincreasePageCache (const Bytes &size=Megabytes(1))
 
- Public Member Functions inherited from Subcommand
 REPEAT_FROM_TO (1, 11, TEMPLATE, _) explicit Subcommand(const std
 
virtual ~Subcommand ()
 
std::string name () const
 

Static Public Attributes

static const char NAME []
 

Protected Member Functions

int execute () override
 
- Protected Member Functions inherited from Subcommand
virtual flags::FlagsBasegetFlags ()
 

Constructor & Destructor Documentation

mesos::internal::tests::MemoryTestHelper::MemoryTestHelper ( )
inline
mesos::internal::tests::MemoryTestHelper::~MemoryTestHelper ( )
override

Member Function Documentation

void mesos::internal::tests::MemoryTestHelper::cleanup ( )
int mesos::internal::tests::MemoryTestHelper::execute ( )
overrideprotectedvirtual

Implements Subcommand.

Try<Nothing> mesos::internal::tests::MemoryTestHelper::increasePageCache ( const Bytes size = Megabytes(1))
Try<Nothing> mesos::internal::tests::MemoryTestHelper::increaseRSS ( const Bytes size)
Try<pid_t> mesos::internal::tests::MemoryTestHelper::pid ( )
Try<Nothing> mesos::internal::tests::MemoryTestHelper::spawn ( )

Member Data Documentation

const char mesos::internal::tests::MemoryTestHelper::NAME[]
static

The documentation for this class was generated from the following file: