proxygen
|
#include <ServiceConfiguration.h>
Public Member Functions | |
ServiceConfiguration () | |
virtual | ~ServiceConfiguration () |
void | setAcceptors (const std::list< AcceptorConfiguration > &acceptors) |
const std::list< AcceptorConfiguration > & | getAcceptors () const |
void | setWriteBufferLimit (uint64_t size) |
uint64_t | getWriteBufferLimit () const |
void | setTakeoverEnabled (bool enabled) |
bool | takeoverEnabled () const |
Private Attributes | |
std::list< AcceptorConfiguration > | acceptors_ |
uint64_t | writeBufferLimit_ |
bool | takeoverEnabled_ |
Base class for all the Configuration objects
Definition at line 19 of file ServiceConfiguration.h.
|
inline |
Definition at line 21 of file ServiceConfiguration.h.
|
inlinevirtual |
Definition at line 25 of file ServiceConfiguration.h.
|
inline |
Definition at line 35 of file ServiceConfiguration.h.
References acceptors_.
|
inline |
Definition at line 44 of file ServiceConfiguration.h.
References writeBufferLimit_.
|
inline |
Set/get the list of acceptors that will be receiving traffic.
Definition at line 30 of file ServiceConfiguration.h.
References acceptors_.
|
inline |
Set/get whether or not we should enable socket takeover
Definition at line 49 of file ServiceConfiguration.h.
References takeoverEnabled_.
|
inline |
Set/get the amount of data that we're allowed to buffer in-memory before back-pressuring the other end of an HTTP connection.
Definition at line 43 of file ServiceConfiguration.h.
References folly::size(), and writeBufferLimit_.
|
inline |
Definition at line 50 of file ServiceConfiguration.h.
References takeoverEnabled_.
|
private |
Definition at line 53 of file ServiceConfiguration.h.
Referenced by getAcceptors(), and setAcceptors().
|
private |
Definition at line 55 of file ServiceConfiguration.h.
Referenced by setTakeoverEnabled(), and takeoverEnabled().
|
private |
Definition at line 54 of file ServiceConfiguration.h.
Referenced by getWriteBufferLimit(), and setWriteBufferLimit().