proxygen
folly::ExecutionObserver Class Referenceabstract

#include <ExecutionObserver.h>

Public Member Functions

virtual ~ExecutionObserver ()
 
virtual void starting (uintptr_t id) noexcept=0
 
virtual void runnable (uintptr_t id) noexcept=0
 
virtual void stopped (uintptr_t id) noexcept=0
 

Detailed Description

Observes the execution of a task.

Definition at line 25 of file ExecutionObserver.h.

Constructor & Destructor Documentation

virtual folly::ExecutionObserver::~ExecutionObserver ( )
inlinevirtual

Definition at line 27 of file ExecutionObserver.h.

References folly::pushmi::__adl::noexcept(), runnable(), starting(), and stopped().

27 {}

Member Function Documentation

virtual void folly::ExecutionObserver::runnable ( uintptr_t  id)
pure virtualnoexcept
virtual void folly::ExecutionObserver::starting ( uintptr_t  id)
pure virtualnoexcept

Called when a task is about to start executing.

Parameters
idUnique id for the task which is starting.

Referenced by folly::EventHandler::libeventCallback(), folly::fibers::FiberManager::runReadyFiber(), and ~ExecutionObserver().

virtual void folly::ExecutionObserver::stopped ( uintptr_t  id)
pure virtualnoexcept

Called just after a task stops executing.

Parameters
idUnique id for the task which stopped.

Referenced by folly::fibers::FiberManager::runReadyFiber(), and ~ExecutionObserver().


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