CachePeers.h File Reference
#include "base/forward.h"
#include "CachePeer.h"
#include "mem/PoolingAllocator.h"
#include <memory>
#include <vector>
Include dependency graph for CachePeers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CachePeers
 cache_peer configuration storage More...
 

Typedefs

using SelectedCachePeers = std::vector< CbcPointer< CachePeer >, PoolingAllocator< CbcPointer< CachePeer > > >
 
using RawCachePeers = std::vector< CachePeer *, PoolingAllocator< CachePeer * > >
 Temporary, local storage of raw pointers to zero or more Config.peers. More...
 

Functions

const CachePeersCurrentCachePeers ()
 
void DeleteConfigured (CachePeer *)
 destroys the given peer after removing it from the set of configured peers More...
 

Typedef Documentation

◆ RawCachePeers

Definition at line 66 of file CachePeers.h.

◆ SelectedCachePeers

Weak pointers to zero or more Config.peers. Users must specify the selection algorithm and the order of entries.

Definition at line 63 of file CachePeers.h.

Function Documentation

◆ CurrentCachePeers()

const CachePeers & CurrentCachePeers ( )

◆ DeleteConfigured()

void DeleteConfigured ( CachePeer peer)

Definition at line 51 of file CachePeers.cc.

References Assure, Config, SquidConfig::peers, and CachePeers::remove().

Referenced by neighbors_init(), and neighborsUdpAck().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors