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) |
![]() | |
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 | |
![]() | |
void | FreeToken () |
DISALLOW_COPY_AND_ASSIGN (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.