folly::IOThreadPoolExecutorBase::IOObserver

Observer that is notified when EventBases are registered.

Synopsis

Declared in <folly/executors/IOThreadPoolExecutor.h>

class IOObserver
    : public Observer

Base Classes

NameDescription
ObserverObserver interface for thread start/stop. Provides hooks so actions can be taken when threads are created

Member Functions

NameDescription
registerEventBase [virtual]Called when an EventBase is registered with the executor.
threadNotYetStopped [virtual]Called for a thread that has not yet stopped when this observer is removed.
threadPreviouslyStarted [virtual]Called for a thread that started before this observer was added.
threadStarted [virtual]Called when a thread has started.
threadStopped [virtual]Called when a thread has stopped.
unregisterEventBase [virtual]Called when an EventBase is unregistered from the executor.

Derived Classes

NameDescription
IOThreadPoolDeadlockDetectorObserver Observer that attaches a deadlock detector to each event base of an IO thread pool.