pconn.h
Go to the documentation of this file.
135 Comm::ConnectionPointer pop(const Comm::ConnectionPointer &dest, const char *domain, bool keepOpen);
153 Comm::ConnectionPointer popStored(const Comm::ConnectionPointer &dest, const char *domain, const bool keepOpen);
Maintains an fixed-size "standby" PconnPool for a single CachePeer.
Definition: PeerPoolMgr.h:23
A RegisteredRunner with lifetime determined by forces outside the Registry.
Definition: RunnersRegistry.h:106
Definition: pconn.h:170
int findIndexOf(const Comm::ConnectionPointer &conn) const
Definition: pconn.cc:74
Definition: pconn.h:113
Comm::ConnectionPointer pop(const Comm::ConnectionPointer &dest, const char *domain, bool keepOpen)
Definition: pconn.cc:458
Comm::ConnectionPointer popStored(const Comm::ConnectionPointer &dest, const char *domain, const bool keepOpen)
Definition: pconn.cc:477
void findAndClose(const Comm::ConnectionPointer &conn)
Definition: pconn.cc:286
Definition: pconn.h:38
Comm::ConnectionPointer findUseable(const Comm::ConnectionPointer &key)
Definition: pconn.cc:247
void push(const Comm::ConnectionPointer &conn)
Pass control of the connection to the idle list.
Definition: pconn.cc:170
void moduleInit()
void push(const Comm::ConnectionPointer &serverConn, const char *domain)
Definition: pconn.cc:421
void IOCB(const Comm::ConnectionPointer &conn, char *, size_t size, Comm::Flag flag, int xerrno, void *data)
Definition: CommCalls.h:34
void clearHandlers(const Comm::ConnectionPointer &conn)
Definition: pconn.cc:162
PconnPool(const char *aDescription, const CbcPointer< PeerPoolMgr > &aMgr)
Definition: pconn.cc:392
Definition: Store.h:37
Definition: hash.h:23
int capacity_
Number of entries theList can currently hold without re-allocating (capacity).
Definition: pconn.h:84
static const char * key(const Comm::ConnectionPointer &destLink, const char *domain)
Definition: pconn.cc:333
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products