proxygen
|
Combining request record. More...
#include <FlatCombining.h>
Public Member Functions | |
Rec () | |
void | setValid () |
void | clearValid () |
bool | isValid () const |
void | setDone () |
void | clearDone () |
bool | isDone () const |
void | awaitDone () |
void | setDisconnected () |
void | clearDisconnected () |
bool | isDisconnected () const |
void | setIndex (const size_t index) |
size_t | getIndex () const |
void | setNext (const size_t next) |
size_t | getNext () const |
void | setLast (const uint64_t pass) |
uint64_t | getLast () const |
Req & | getReq () |
template<typename Func > | |
void | setFn (Func &&fn) |
void | clearFn () |
SavedFn & | getFn () |
void | complete () |
Private Attributes | |
folly::SaturatingSemaphore< false, Atom > | valid_ |
folly::SaturatingSemaphore< false, Atom > | done_ |
folly::SaturatingSemaphore< false, Atom > | disconnected_ |
size_t | index_ |
size_t | next_ |
uint64_t | last_ |
Req | req_ |
SavedFn | fn_ |
Combining request record.
Definition at line 114 of file FlatCombining.h.
|
inline |
Definition at line 126 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::setDisconnected(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::setDone().
Referenced by folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::allocRec(), folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::combiningPass(), folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::drainAll(), and folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::pushRec().
|
inline |
Definition at line 155 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::wait().
Referenced by folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::drainAll(), and folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::requestOp().
|
inline |
Definition at line 163 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::reset().
|
inline |
Definition at line 147 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::reset().
|
inline |
Definition at line 213 of file FlatCombining.h.
|
inline |
Definition at line 135 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::reset(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::valid_.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::complete().
|
inline |
Definition at line 222 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::clearValid(), folly::FlatCombining< T, Mutex, Atom, Req >::Rec::isDone(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::setDone().
|
inline |
Definition at line 218 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::fn_.
|
inline |
Definition at line 175 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::index_.
|
inline |
Definition at line 191 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::last_.
|
inline |
Definition at line 183 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::next_.
|
inline |
Definition at line 195 of file FlatCombining.h.
References folly::FlatCombining< T, Mutex, Atom, Req >::Rec::req_.
|
inline |
Definition at line 167 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::ready().
|
inline |
Definition at line 151 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::ready().
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::complete().
|
inline |
Definition at line 139 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::ready(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::valid_.
|
inline |
Definition at line 159 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::post().
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::Rec().
|
inline |
Definition at line 143 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::post().
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::complete(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::Rec().
|
inline |
Definition at line 200 of file FlatCombining.h.
References folly::value().
|
inline |
Definition at line 171 of file FlatCombining.h.
|
inline |
Definition at line 187 of file FlatCombining.h.
|
inline |
|
inline |
Definition at line 131 of file FlatCombining.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::post(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::valid_.
|
private |
Definition at line 118 of file FlatCombining.h.
|
private |
Definition at line 117 of file FlatCombining.h.
|
private |
Definition at line 123 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::getFn().
|
private |
Definition at line 119 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::getIndex().
|
private |
Definition at line 121 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::getLast().
|
private |
Definition at line 120 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::getNext().
|
private |
Definition at line 122 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::getReq().
|
private |
Definition at line 116 of file FlatCombining.h.
Referenced by folly::FlatCombining< T, Mutex, Atom, Req >::Rec::clearValid(), folly::FlatCombining< T, Mutex, Atom, Req >::Rec::isValid(), and folly::FlatCombining< T, Mutex, Atom, Req >::Rec::setValid().