proxygen
|
#include <ExecutorFilter.h>
Public Member Functions | |
ExecutorFilter (std::shared_ptr< folly::Executor > exe, std::shared_ptr< Service< Req, Resp >> service) | |
folly::Future< Resp > | operator() (Req req) override |
Public Member Functions inherited from wangle::ServiceFilter< Req, Resp > | |
ServiceFilter (std::shared_ptr< Service< Req, Resp >> service) | |
~ServiceFilter () override=default | |
folly::Future< folly::Unit > | close () override |
bool | isAvailable () override |
Public Member Functions inherited from wangle::Service< Req, Resp > | |
virtual | ~Service ()=default |
Private Attributes | |
std::shared_ptr< folly::Executor > | exe_ |
Additional Inherited Members | |
Protected Attributes inherited from wangle::ServiceFilter< Req, Resp > | |
std::shared_ptr< Service< Req, Resp > > | service_ |
A service that runs all requests through an executor.
Definition at line 27 of file ExecutorFilter.h.
|
inlineexplicit |
Definition at line 29 of file ExecutorFilter.h.
|
inlineoverridevirtual |
Implements wangle::Service< Req, Resp >.
Definition at line 35 of file ExecutorFilter.h.
|
private |
Definition at line 43 of file ExecutorFilter.h.
Referenced by wangle::ExecutorFilter< Bonk, Xtruct >::operator()().