proxygen
|
#include <ConnectionCounter.h>
Public Member Functions | |
virtual uint64_t | getNumConnections () const =0 |
virtual uint64_t | getMaxConnections () const =0 |
virtual void | onConnectionAdded ()=0 |
virtual void | onConnectionRemoved ()=0 |
virtual | ~IConnectionCounter ()=default |
Definition at line 22 of file ConnectionCounter.h.
|
virtualdefault |
|
pure virtual |
Get the maximum number of non-whitelisted client-side connections across all Acceptors managed by this. A value of zero means "unlimited."
Implemented in wangle::SimpleConnectionCounter.
Referenced by wangle::Acceptor::getWorkerMaxConnections().
|
pure virtual |
Implemented in wangle::SimpleConnectionCounter.
Referenced by wangle::Acceptor::canAccept().
|
pure virtual |
Increment the count of client-side connections.
Implemented in wangle::SimpleConnectionCounter.
|
pure virtual |
Decrement the count of client-side connections.
Implemented in wangle::SimpleConnectionCounter.