Apache Mesos
Public Member Functions | List of all members
process::RateLimiter Class Reference

#include <limiter.hpp>

Inheritance diagram for process::RateLimiter:
mesos::internal::tests::MockRateLimiter

Public Member Functions

 RateLimiter (int permits, const Duration &duration)
 
 RateLimiter (double permitsPerSecond)
 
virtual ~RateLimiter ()
 
virtual Future< Nothingacquire () const
 

Constructor & Destructor Documentation

process::RateLimiter::RateLimiter ( int  permits,
const Duration duration 
)
inline
process::RateLimiter::RateLimiter ( double  permitsPerSecond)
inlineexplicit
process::RateLimiter::~RateLimiter ( )
inlinevirtual

Member Function Documentation

Future< Nothing > process::RateLimiter::acquire ( ) const
inlinevirtual

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