Manager for per‐thread EventBase objects.

Synopsis

Declared in <folly/io/async/EventBaseManager.h>

class EventBaseManager;

Member Functions

Name

Description

EventBaseManager [constructor]

Constructors

~EventBaseManager [destructor]

Destroys the manager.

clearEventBase

Clear the EventBase for this thread.

getEventBase

Get the EventBase for this thread, or create one if none exists yet.

getExistingEventBase

Get the EventBase for this thread.

setEventBase

Set the EventBase to be used by this thread.

Static Member Functions

Name

Description

get

Get the global EventBaseManager for this program. Ideally all users of EventBaseManager go through this interface and do not construct EventBaseManager directly.

Created with MrDocs