#include <flow_token.h>
Definition at line 25 of file flow_token.h.
◆ TokenPool()
TokenPool::TokenPool |
( |
const std::string & |
name, |
|
|
Proto * |
proto, |
|
|
int |
count |
|
) |
| |
◆ ~TokenPool()
TokenPool::~TokenPool |
( |
| ) |
|
|
virtual |
◆ DISALLOW_COPY_AND_ASSIGN()
TokenPool::DISALLOW_COPY_AND_ASSIGN |
( |
TokenPool |
| ) |
|
|
protected |
◆ failures()
uint64_t TokenPool::failures |
( |
| ) |
const |
|
inline |
◆ FreeToken()
void TokenPool::FreeToken |
( |
| ) |
|
|
protected |
◆ GetToken()
◆ IncrementRestarts()
void TokenPool::IncrementRestarts |
( |
| ) |
|
|
inline |
◆ restarts()
uint64_t TokenPool::restarts |
( |
| ) |
const |
|
inline |
◆ token_count()
int TokenPool::token_count |
( |
| ) |
const |
|
inline |
◆ TokenCheck()
bool TokenPool::TokenCheck |
( |
| ) |
const |
◆ Token
◆ failures_
uint64_t TokenPool::failures_ |
|
mutableprotected |
◆ low_water_mark_
int TokenPool::low_water_mark_ |
|
protected |
◆ max_tokens_
int TokenPool::max_tokens_ |
|
protected |
◆ min_tokens_
int TokenPool::min_tokens_ |
|
protected |
◆ name_
std::string TokenPool::name_ |
|
protected |
◆ proto_
◆ restarts_
uint64_t TokenPool::restarts_ |
|
protected |
◆ token_count_
tbb::atomic<int> TokenPool::token_count_ |
|
protected |
The documentation for this class was generated from the following files: