folly::ThreadPoolExecutor::TaskObserver

Interface for observing task lifecycle events.

Synopsis

Declared in <folly/executors/ThreadPoolExecutor.h>

class TaskObserver;

Member Functions

NameDescription
~TaskObserver [destructor] [virtual]Destroys the task observer.
taskDequeued [virtual]Called when a task is dequeued.
taskEnqueued [virtual]Called when a task is enqueued.
taskProcessed [virtual]Called when a task has been processed.

Friends

NameDescription
folly::ThreadPoolExecutorBase class for implementing threadpool based executors.