proxygen
|
#include <ThreadPoolExecutor.h>
Public Member Functions | |
Task (Func &&func, std::chrono::milliseconds expiration, Func &&expireCallback) | |
Public Attributes | |
Func | func_ |
TaskStats | stats_ |
std::chrono::steady_clock::time_point | enqueueTime_ |
std::chrono::milliseconds | expiration_ |
Func | expireCallback_ |
std::shared_ptr< folly::RequestContext > | context_ |
Definition at line 191 of file ThreadPoolExecutor.h.
|
explicit |
Definition at line 59 of file ThreadPoolExecutor.cpp.
References enqueueTime_, and now().
std::shared_ptr<folly::RequestContext> folly::ThreadPoolExecutor::Task::context_ |
Definition at line 201 of file ThreadPoolExecutor.h.
std::chrono::steady_clock::time_point folly::ThreadPoolExecutor::Task::enqueueTime_ |
Definition at line 198 of file ThreadPoolExecutor.h.
Referenced by Task().
std::chrono::milliseconds folly::ThreadPoolExecutor::Task::expiration_ |
Definition at line 199 of file ThreadPoolExecutor.h.
Func folly::ThreadPoolExecutor::Task::expireCallback_ |
Definition at line 200 of file ThreadPoolExecutor.h.
Func folly::ThreadPoolExecutor::Task::func_ |
Definition at line 196 of file ThreadPoolExecutor.h.
TaskStats folly::ThreadPoolExecutor::Task::stats_ |
Definition at line 197 of file ThreadPoolExecutor.h.