|
proxygen
|
#include <ServerBootstrap-inl.h>
Public Types | |
| enum | ExceptionType { ExceptionType::UNKNOWN = 0, ExceptionType::TIMED_OUT = 1, ExceptionType::DROPPED = 2, ExceptionType::ACCEPT_STOPPED = 3, ExceptionType::DRAIN_CONN_PCT = 4, ExceptionType::DROP_CONN_PCT = 5, ExceptionType::FORCE_STOP = 6, ExceptionType::INTERNAL_ERROR = 7 } |
Public Member Functions | |
| AcceptorException (ExceptionType type) | |
| AcceptorException (ExceptionType type, const std::string &message) | |
| AcceptorException (ExceptionType type, const std::string &message, double pct) | |
| ExceptionType | getType () const noexcept |
| double | getPct () const noexcept |
Protected Attributes | |
| const ExceptionType | type_ |
| const double | pct_ |
Definition at line 32 of file ServerBootstrap-inl.h.
|
strong |
| Enumerator | |
|---|---|
| UNKNOWN | |
| TIMED_OUT | |
| DROPPED | |
| ACCEPT_STOPPED | |
| DRAIN_CONN_PCT | |
| DROP_CONN_PCT | |
| FORCE_STOP | |
| INTERNAL_ERROR | |
Definition at line 34 of file ServerBootstrap-inl.h.
|
inlineexplicit |
Definition at line 45 of file ServerBootstrap-inl.h.
|
inlineexplicit |
Definition at line 48 of file ServerBootstrap-inl.h.
|
inlineexplicit |
Definition at line 51 of file ServerBootstrap-inl.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
protected |
Definition at line 61 of file ServerBootstrap-inl.h.
Referenced by getPct().
|
protected |
Definition at line 59 of file ServerBootstrap-inl.h.
Referenced by getType().