proxygen
|
#include <AtomicBatchDispatcher-inl.h>
Classes | |
struct | Entry |
Public Member Functions | |
DispatchBaton (DispatchFunctionT &&dispatchFunction) | |
~DispatchBaton () | |
void | reserve (size_t numEntries) |
void | setExceptionWrapper (folly::exception_wrapper &&exWrapper) |
void | setExpectedCount (size_t expectedCount) |
Future< ResultT > | getFutureResult (InputT &&input, size_t sequenceNumber) |
Private Member Functions | |
void | setExceptionResults (const folly::exception_wrapper &exceptionWrapper) |
void | setExceptionResults (std::exception_ptr eptr) |
template<typename TException > | |
void | setExceptionResults (const TException &ex, std::exception_ptr eptr=std::exception_ptr()) |
void | fulfillPromises () |
Private Attributes | |
size_t | expectedCount_ |
DispatchFunctionT | dispatchFunction_ |
std::vector< folly::Optional< Entry > > | optEntries_ |
folly::exception_wrapper | exceptionWrapper_ |
Definition at line 20 of file AtomicBatchDispatcher-inl.h.
|
inline |
Definition at line 21 of file AtomicBatchDispatcher-inl.h.
|
inline |
Definition at line 24 of file AtomicBatchDispatcher-inl.h.
|
inlineprivate |
Definition at line 75 of file AtomicBatchDispatcher-inl.h.
References folly::fibers::detail::createABDTokenNotDispatchedExMsg(), folly::fibers::detail::createUnexpectedNumResultsABDUsageExMsg(), i, and folly::gen::move.
|
inline |
Definition at line 42 of file AtomicBatchDispatcher-inl.h.
References folly::gen::move.
|
inline |
Definition at line 28 of file AtomicBatchDispatcher-inl.h.
|
inlineprivate |
Definition at line 53 of file AtomicBatchDispatcher-inl.h.
|
inlineprivate |
Definition at line 61 of file AtomicBatchDispatcher-inl.h.
|
inlineprivate |
Definition at line 67 of file AtomicBatchDispatcher-inl.h.
|
inline |
Definition at line 32 of file AtomicBatchDispatcher-inl.h.
References folly::gen::move.
|
inline |
Definition at line 36 of file AtomicBatchDispatcher-inl.h.
|
private |
Definition at line 143 of file AtomicBatchDispatcher-inl.h.
|
private |
Definition at line 145 of file AtomicBatchDispatcher-inl.h.
|
private |
Definition at line 142 of file AtomicBatchDispatcher-inl.h.
|
private |
Definition at line 144 of file AtomicBatchDispatcher-inl.h.