Apache Mesos
Public Member Functions | List of all members
mesos::internal::tests::MockResourceEstimator Class Reference

#include <mock_slave.hpp>

Inheritance diagram for mesos::internal::tests::MockResourceEstimator:
mesos::slave::ResourceEstimator

Public Member Functions

 MockResourceEstimator ()
 
 ~MockResourceEstimator () override
 
 MOCK_METHOD1 (initialize, Try< Nothing >(const lambda::function< process::Future< ResourceUsage >()> &))
 
 MOCK_METHOD0 (oversubscribable, process::Future< Resources >())
 
- Public Member Functions inherited from mesos::slave::ResourceEstimator
virtual ~ResourceEstimator ()
 
virtual Try< Nothinginitialize (const lambda::function< process::Future< ResourceUsage >()> &usage)=0
 
virtual process::Future< Resourcesoversubscribable ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from mesos::slave::ResourceEstimator
static Try< ResourceEstimator * > create (const Option< std::string > &type)
 

Constructor & Destructor Documentation

mesos::internal::tests::MockResourceEstimator::MockResourceEstimator ( )
mesos::internal::tests::MockResourceEstimator::~MockResourceEstimator ( )
override

Member Function Documentation

mesos::internal::tests::MockResourceEstimator::MOCK_METHOD0 ( oversubscribable  ,
process::Future< Resources () 
)
mesos::internal::tests::MockResourceEstimator::MOCK_METHOD1 ( initialize  ,
Try< Nothing const lambda::function< process::Future< ResourceUsage >()> & 
)

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