|
proxygen
|
#include <NotificationQueue.h>
Public Member Functions | |
| SimpleConsumer (NotificationQueue &queue) | |
| ~SimpleConsumer () | |
| int | getFd () const |
| template<typename F > | |
| void | consumeUntilDrained (F &&foreach) |
Private Attributes | |
| NotificationQueue & | queue_ |
Definition at line 226 of file NotificationQueue.h.
|
inlineexplicit |
Definition at line 228 of file NotificationQueue.h.
References folly::NotificationQueue< MessageT >::queue_.
|
inline |
Definition at line 232 of file NotificationQueue.h.
References folly::NotificationQueue< MessageT >::queue_.
| void folly::NotificationQueue< MessageT >::SimpleConsumer::consumeUntilDrained | ( | F && | foreach | ) |
Definition at line 868 of file NotificationQueue.h.
References folly::data(), g(), folly::gen::move, folly::NotificationQueue< MessageT >::queue_, SCOPE_EXIT, and UNLIKELY.
|
inline |
Definition at line 236 of file NotificationQueue.h.
References folly::NotificationQueue< MessageT >::queue_.
|
private |
Definition at line 244 of file NotificationQueue.h.