CachePeers.h
Go to the documentation of this file.
24 using Storage = std::vector< std::unique_ptr<CachePeer>, PoolingAllocator< std::unique_ptr<CachePeer> > >;
63using SelectedCachePeers = std::vector< CbcPointer<CachePeer>, PoolingAllocator< CbcPointer<CachePeer> > >;
std::vector< CachePeer *, PoolingAllocator< CachePeer * > > RawCachePeers
Temporary, local storage of raw pointers to zero or more Config.peers.
Definition: CachePeers.h:66
std::vector< CbcPointer< CachePeer >, PoolingAllocator< CbcPointer< CachePeer > > > SelectedCachePeers
Definition: CachePeers.h:63
void DeleteConfigured(CachePeer *)
destroys the given peer after removing it from the set of configured peers
Definition: CachePeers.cc:51
Definition: CachePeer.h:31
std::vector< std::unique_ptr< CachePeer >, PoolingAllocator< std::unique_ptr< CachePeer > > > Storage
owns stored CachePeer objects
Definition: CachePeers.h:24
auto size() const
the number of currently stored (i.e. added and not removed) cache_peers
Definition: CachePeers.h:33
uint64_t peerPolls_
total number of completed peer scans by nextPeerToPing()-calling code
Definition: CachePeers.h:50
STL Allocator that uses Squid memory pools for memory management.
Definition: PoolingAllocator.h:19