|
OpenSDN source code
|
#include <flow_token.h>


Public Member Functions | |
| FlowTokenPool (const std::string &name, Proto *proto, int count) | |
| virtual | ~FlowTokenPool () |
| TokenPtr | GetToken (FlowEntry *entry) |
Public Member Functions inherited from TokenPool | |
| TokenPool (const std::string &name, Proto *proto, int count) | |
| virtual | ~TokenPool () |
| virtual TokenPtr | GetToken () |
| int | token_count () const |
| bool | TokenCheck () const |
| uint64_t | failures () const |
| void | IncrementRestarts () |
| uint64_t | restarts () const |
Additional Inherited Members | |
Protected Member Functions inherited from TokenPool | |
| void | FreeToken () |
| DISALLOW_COPY_AND_ASSIGN (TokenPool) | |
Protected Attributes inherited from TokenPool | |
| std::string | name_ |
| int | max_tokens_ |
| int | min_tokens_ |
| int | low_water_mark_ |
| tbb::atomic< int > | token_count_ |
| uint64_t | failures_ |
| uint64_t | restarts_ |
| Proto * | proto_ |
Definition at line 53 of file flow_token.h.
|
inline |
Definition at line 55 of file flow_token.h.
|
inlinevirtual |
Definition at line 57 of file flow_token.h.
Definition at line 48 of file flow_token.cc.