1 #ifndef __AGENT_PKT_FLOW_TOKEN_H__
2 #define __AGENT_PKT_FLOW_TOKEN_H__
5 #include <tbb/atomic.h>
FlowTokenPool(const std::string &name, Proto *proto, int count)
FlowToken(TokenPool *pool, FlowEntry *entry)
tbb::atomic< int > token_count_
uint64_t failures() const
uint64_t restarts() const
DISALLOW_COPY_AND_ASSIGN(TokenPool)
TokenPool(const std::string &name, Proto *proto, int count)
virtual TokenPtr GetToken()
DISALLOW_COPY_AND_ASSIGN(Token)
boost::shared_ptr< Token > TokenPtr