|
Squid Web Cache master
|
#include <ServiceRep.h>
Classes | |
| struct | Client |
Public Types | |
| typedef RefCount< ServiceRep > | Pointer |
| typedef String | Id |
Public Member Functions | |
| ServiceRep (const ServiceConfigPointer &aConfig) | |
| ~ServiceRep () override | |
| void | finalize () override |
| bool | probed () const override |
| bool | up () const override |
| bool | availableForNew () const |
| a new transaction may start communicating with the service | |
| bool | availableForOld () const |
| a transaction notified about connection slot availability may start communicating with the service | |
| Initiate * | makeXactLauncher (Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp) override |
| void | callWhenAvailable (AsyncCall::Pointer &cb, bool priority=false) |
| void | callWhenReady (AsyncCall::Pointer &cb) |
| bool | wantsUrl (const SBuf &urlPath) const override |
| bool | wantsPreview (const SBuf &urlPath, size_t &wantedSize) const |
| bool | allows204 () const |
| bool | allows206 () const |
| Comm::ConnectionPointer | getIdleConnection (bool isRetriable) |
| void | putConnection (const Comm::ConnectionPointer &conn, bool isReusable, bool sendReset, const char *comment) |
| void | noteConnectionUse (const Comm::ConnectionPointer &conn) |
| void | noteConnectionFailed (const char *comment) |
| void | noteFailure () override |
| void | noteNewWaiter () |
| New xaction waiting for service to be up or available. | |
| void | noteGoneWaiter () |
| An xaction is not waiting any more for service to be available. | |
| bool | existWaiters () const |
| if there are xactions waiting for the service to be available | |
| bool | doneAll () const override |
| whether positive goal has been reached | |
| void | callException (const std::exception &e) override |
| called when the job throws during an async call | |
| void | detach () override |
| bool | detached () const override |
| whether detached() was called | |
| void | noteTimeToUpdate () |
| void | noteTimeToNotify () |
| void | noteAdaptationAnswer (const Answer &answer) override |
| virtual bool | broken () const |
| bool | wants (const ServiceFilter &filter) const |
| const ServiceConfig & | cfg () const |
| virtual void | noteAdaptationAclCheckDone (Adaptation::ServiceGroupPointer group) |
| bool | canBeCalled (AsyncCall &call) const |
| whether we can be called | |
| void | callStart (AsyncCall &call) |
| virtual void | callEnd () |
| called right after the called job method | |
| void | handleStopRequest () |
| process external request to terminate now (i.e. during this async call) | |
| virtual void * | toCbdata ()=0 |
Static Public Member Functions | |
| static void | Start (const Pointer &job) |
| static void | RegisterWithCacheManager () |
Public Attributes | |
| Security::ContextPointer | sslContext |
| Security::FuturePeerContext | tlsContext |
| Security::SessionStatePointer | sslSession |
| const InstanceId< AsyncJob > | id |
| job identifier | |
Protected Member Functions | |
| ServiceConfig & | writeableCfg () |
| CbcPointer< Initiate > | initiateAdaptation (Initiate *x) |
| < starts freshly created initiate and returns a safe pointer to it | |
| void | clearAdaptation (CbcPointer< Initiate > &x) |
| clears the pointer (does not call announceInitiatorAbort) | |
| void | announceInitiatorAbort (CbcPointer< Initiate > &x) |
| inform the transaction about abnormal termination and clear the pointer | |
| bool | initiated (const CbcPointer< AsyncJob > &job) const |
| Must(initiated(initiate)) instead of Must(initiate.set()), for clarity. | |
| void | deleteThis (const char *aReason) |
| void | mustStop (const char *aReason) |
| bool | done () const |
| the job is destroyed in callEnd() when done() | |
| virtual void | start () |
| called by AsyncStart; do not call directly | |
| virtual void | swanSong () |
Static Protected Member Functions | |
| static void | ReportAllJobs (StoreEntry *) |
| writes a cache manager report about all jobs existing in this worker | |
Protected Attributes | |
| const char * | stopReason |
| reason for forcing done() to be true | |
| const char * | typeName |
| kid (leaf) class name, for debugging | |
| AsyncCall::Pointer | inCall |
| the asynchronous call being handled, if any | |
| bool | started_ = false |
| Start() has finished successfully. | |
| bool | swanSang_ = false |
| swanSong() was called | |
Private Types | |
| typedef std::vector< Client > | Clients |
Private Member Functions | |
| CBDATA_CHILD (ServiceRep) | |
| ICAP::Method | parseMethod (const char *) const |
| ICAP::VectPoint | parseVectPoint (const char *) const |
| void | suspend (const char *reason) |
| bool | hasOptions () const |
| bool | needNewOptions () const |
| time_t | optionsFetchTime () const |
| void | scheduleUpdate (time_t when) |
| void | scheduleNotification () |
| void | startGettingOptions () |
| void | handleNewOptions (Options *newOptions) |
| void | changeOptions (Options *newOptions) |
| void | checkOptions () |
| void | announceStatusChange (const char *downPhrase, bool important) const |
| void | setMaxConnections () |
| Set the maximum allowed connections for the service. | |
| int | excessConnections () const |
| The number of connections which excess the Max-Connections limit. | |
| int | availableConnections () const |
| void | busyCheckpoint () |
| const char * | status () const override |
| internal cleanup; do not call directly | |
| virtual void | finalizedInCbdataChild ()=0 |
| hack: ensure CBDATA_CHILD() after a toCbdata()-defining CBDATA_INTERMEDIATE() | |
Private Attributes | |
| Clients | theClients |
| Options * | theOptions |
| CbcPointer< Adaptation::Initiate > | theOptionsFetcher |
| time_t | theLastUpdate |
| std::deque< Client > | theNotificationWaiters |
| int | theBusyConns |
| int | theAllWaiters |
| int | theMaxConnections |
| the maximum allowed connections to the service | |
| bool | connOverloadReported |
| whether we reported exceeding theMaxConnections | |
| IdleConnList * | theIdleConns |
| idle persistent connection pool | |
| FadingCounter | theSessionFailures |
| const char * | isSuspended |
| bool | notifying |
| bool | updateScheduled |
| bool | wasAnnouncedUp |
| bool | isDetached |
| ServiceConfigPointer | theConfig |
Definition at line 59 of file ServiceRep.h.
|
private |
Definition at line 127 of file ServiceRep.h.
|
inherited |
Definition at line 65 of file ServiceRep.h.
|
explicit |
Definition at line 34 of file ServiceRep.cc.
References setMaxConnections(), and theIdleConns.
|
override |
Definition at line 51 of file ServiceRep.cc.
References Must, and SWALLOW_EXCEPTIONS.
| bool Adaptation::Icap::ServiceRep::allows204 | ( | ) | const |
Definition at line 346 of file ServiceRep.cc.
References Must.
| bool Adaptation::Icap::ServiceRep::allows206 | ( | ) | const |
Definition at line 352 of file ServiceRep.cc.
References Must.
|
protectedinherited |
Definition at line 38 of file Initiator.cc.
References CallJobHere.
Referenced by ClientHttpRequest::~ClientHttpRequest(), and Client::cleanAdaptation().
|
private |
Definition at line 523 of file ServiceRep.cc.
References debugs.
|
private |
The available connections slots to the ICAP server
Definition at line 200 of file ServiceRep.cc.
References DBG_IMPORTANT, debugs, max(), and Adaptation::srvForce.
| bool Adaptation::Icap::ServiceRep::availableForNew | ( | ) | const |
Definition at line 307 of file ServiceRep.cc.
References Must.
| bool Adaptation::Icap::ServiceRep::availableForOld | ( | ) | const |
Definition at line 317 of file ServiceRep.cc.
References Must.
|
virtualinherited |
Definition at line 30 of file Service.cc.
|
private |
If there are xactions waiting for the service to be available, notify as many xactions as the available connections slots.
Definition at line 248 of file ServiceRep.cc.
References Adaptation::Icap::ServiceRep::Client::callback, debugs, and ScheduleCallHere.
|
virtualinherited |
called right after the called job method
Reimplemented in Adaptation::Icap::Xaction.
Definition at line 152 of file AsyncJob.cc.
References assert, AsyncCall::debugLevel, debugs, AsyncCall::debugSection, AsyncJob::done(), AsyncJob::inCall, AsyncJob::started_, AsyncJob::status(), AsyncJob::swanSang_, AsyncJob::swanSong(), and AsyncJob::typeName.
Referenced by Adaptation::Icap::Xaction::callEnd(), and AsyncJob::deleteThis().
|
overridevirtual |
|
inherited |
called just before the called method
Definition at line 130 of file AsyncJob.cc.
References cbdataReferenceValid(), AsyncCall::debugLevel, debugs, AsyncCall::debugSection, AsyncJob::inCall, Must, AsyncJob::status(), CbdataParent::toCbdata(), and AsyncJob::typeName.
| void Adaptation::Icap::ServiceRep::callWhenAvailable | ( | AsyncCall::Pointer & | cb, |
| bool | priority = false |
||
| ) |
Definition at line 403 of file ServiceRep.cc.
References Adaptation::Icap::ServiceRep::Client::callback, debugs, Must, and Adaptation::Icap::ServiceRep::Client::service.
| void Adaptation::Icap::ServiceRep::callWhenReady | ( | AsyncCall::Pointer & | cb | ) |
Definition at line 421 of file ServiceRep.cc.
References Adaptation::Icap::ServiceRep::Client::callback, debugs, Must, and Adaptation::Icap::ServiceRep::Client::service.
|
inherited |
Definition at line 117 of file AsyncJob.cc.
References AsyncCall::cancel(), debugs, and AsyncJob::inCall.
|
private |
|
inlineinherited |
Definition at line 51 of file Service.h.
References Adaptation::Service::theConfig.
Referenced by Adaptation::Service::Service(), Adaptation::ServiceGroup::checkUniqueness(), Adaptation::Icap::Xaction::dnsLookupDone(), Adaptation::ServiceGroup::finalize(), Adaptation::Icap::Xaction::finalizeLogInfo(), Adaptation::Icap::ModXact::finalizeLogInfo(), Adaptation::ServiceGroup::findService(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::Xaction::openConnection(), Adaptation::DynamicServiceChain::Split(), and Adaptation::Iterator::step().
|
private |
Definition at line 455 of file ServiceRep.cc.
References debugs, and squid_curtime.
|
private |
Definition at line 470 of file ServiceRep.cc.
References String::append(), DBG_IMPORTANT, debugs, int, Adaptation::methodStr(), and squid_curtime.
|
protectedinherited |
Definition at line 32 of file Initiator.cc.
References CbcPointer< Cbc >::clear().
Referenced by ClientHttpRequest::handleAdaptedHeader(), ClientHttpRequest::noteAdaptationAnswer(), and Client::noteAdaptationAnswer().
|
protectedinherited |
Definition at line 65 of file AsyncJob.cc.
References asyncCall(), AsyncJob::callEnd(), debugs, AsyncJob::deleteThis(), AsyncJob::inCall, JobMemFun(), Must, AsyncJob::stopReason, and AsyncJob::typeName.
Referenced by ConnStateData::connStateClosed(), and AsyncJob::deleteThis().
|
overridevirtual |
called when removed from the config; the service will be auto-destroyed when the last refcounting user leaves
Implements Adaptation::Service.
Definition at line 719 of file ServiceRep.cc.
References debugs.
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 726 of file ServiceRep.cc.
|
protectedinherited |
Definition at line 106 of file AsyncJob.cc.
References AsyncJob::doneAll(), and AsyncJob::stopReason.
Referenced by AsyncJob::callEnd(), HappyConnOpener::checkForNewConnection(), Downloader::downloadFinished(), and HappyConnOpener::maybeOpenPrimeConnection().
|
inlineoverridevirtual |
Reimplemented from AsyncJob.
Definition at line 101 of file ServiceRep.h.
References AsyncJob::doneAll().
|
private |
Definition at line 224 of file ServiceRep.cc.
|
inline |
Definition at line 98 of file ServiceRep.h.
References theAllWaiters.
|
overridevirtual |
Reimplemented from Adaptation::Service.
Definition at line 61 of file ServiceRep.cc.
References debugs, DEFAULT_ICAP_PORT, DEFAULT_ICAPS_PORT, Adaptation::Service::finalize(), Adaptation::Config::oldest_service_failure, Adaptation::Icap::TheConfig, and xgetservbyname().
|
privatepure virtualinherited |
| Comm::ConnectionPointer Adaptation::Icap::ServiceRep::getIdleConnection | ( | bool | isRetriable | ) |
Definition at line 119 of file ServiceRep.cc.
References debugs.
Referenced by Adaptation::Icap::Xaction::openConnection().
|
private |
Definition at line 576 of file ServiceRep.cc.
|
inlineinherited |
Definition at line 73 of file AsyncJob.h.
References AsyncJob::mustStop().
|
private |
Definition at line 297 of file ServiceRep.cc.
|
protectedinherited |
Definition at line 23 of file Initiator.cc.
References Adaptation::Initiate::initiator().
Referenced by ClientHttpRequest::startAdaptation(), and Client::startAdaptation().
|
inlineprotectedinherited |
Definition at line 52 of file Initiator.h.
References CbcPointer< Cbc >::set().
Referenced by ClientHttpRequest::startAdaptation(), and Client::startAdaptation().
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 672 of file ServiceRep.cc.
|
protectedinherited |
Definition at line 85 of file AsyncJob.cc.
References debugs, AsyncJob::inCall, Must, AsyncJob::stopReason, and AsyncJob::typeName.
Referenced by HttpStateData::abortAll(), AsyncJob::callException(), HttpStateData::continueAfterParsingHeader(), HttpStateData::drop1xx(), AsyncJob::handleStopRequest(), HttpStateData::httpStateConnClosed(), HttpStateData::httpTimeout(), HttpStateData::proceedAfter1xx(), ConnStateData::proxyProtocolError(), HttpStateData::readReply(), HttpStateData::start(), and HttpStateData::wroteLast().
|
private |
Definition at line 450 of file ServiceRep.cc.
|
virtualinherited |
AccessCheck calls this back with a possibly nil service group to signal whether adaptation is needed and where it should start.
Reimplemented in Client, and ClientHttpRequest.
Definition at line 17 of file Initiator.cc.
References Must.
|
overridevirtual |
called with the initial adaptation decision (adapt, block, error); virgin and/or adapted body transmission may continue after this
Implements Adaptation::Initiator.
Definition at line 538 of file ServiceRep.cc.
References Adaptation::Answer::akError, Adaptation::Answer::akForward, Adaptation::Icap::Options::configure(), DBG_IMPORTANT, debugs, RefCount< C >::getRaw(), Adaptation::Answer::kind, Adaptation::Answer::message, and Must.
| void Adaptation::Icap::ServiceRep::noteConnectionFailed | ( | const char * | comment | ) |
Definition at line 179 of file ServiceRep.cc.
References debugs.
| void Adaptation::Icap::ServiceRep::noteConnectionUse | ( | const Comm::ConnectionPointer & | conn | ) |
Definition at line 173 of file ServiceRep.cc.
References Comm::Connection::fd, fd_table, Comm::IsConnOpen(), and Must.
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 96 of file ServiceRep.cc.
References debugs, Adaptation::Config::oldest_service_failure, Adaptation::Config::service_failure_limit, and Adaptation::Icap::TheConfig.
| void Adaptation::Icap::ServiceRep::noteGoneWaiter | ( | ) |
Definition at line 239 of file ServiceRep.cc.
Referenced by Adaptation::Icap::ConnWaiterDialer::~ConnWaiterDialer().
|
inline |
Definition at line 96 of file ServiceRep.h.
References theAllWaiters.
| void Adaptation::Icap::ServiceRep::noteTimeToNotify | ( | ) |
Definition at line 382 of file ServiceRep.cc.
References Adaptation::Icap::ServiceRep::Client::callback, debugs, Must, and ScheduleCallHere.
| void Adaptation::Icap::ServiceRep::noteTimeToUpdate | ( | ) |
Definition at line 368 of file ServiceRep.cc.
References debugs.
Referenced by ServiceRep_noteTimeToUpdate().
|
private |
Definition at line 648 of file ServiceRep.cc.
References debugs, Adaptation::Config::service_revival_delay, squid_curtime, and Adaptation::Icap::TheConfig.
|
private |
|
private |
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 292 of file ServiceRep.cc.
| void Adaptation::Icap::ServiceRep::putConnection | ( | const Comm::ConnectionPointer & | conn, |
| bool | isReusable, | ||
| bool | sendReset, | ||
| const char * | comment | ||
| ) |
Definition at line 148 of file ServiceRep.cc.
References Comm::Connection::close(), comm_reset_close(), debugs, Comm::IsConnOpen(), and Must.
|
staticinherited |
Definition at line 215 of file AsyncJob.cc.
References Mgr::RegisterAction(), and AsyncJob::ReportAllJobs().
Referenced by mainInitialize().
|
staticprotectedinherited |
Definition at line 198 of file AsyncJob.cc.
References AllJobs().
Referenced by AsyncJob::RegisterWithCacheManager().
|
private |
Definition at line 444 of file ServiceRep.cc.
References CallJobHere, and debugs.
|
private |
Definition at line 610 of file ServiceRep.cc.
References DBG_IMPORTANT, debugs, eventAdd(), eventDelete(), eventFind(), ServiceRep_noteTimeToUpdate(), and squid_curtime.
|
private |
Definition at line 185 of file ServiceRep.cc.
References Config, and SquidConfig::workers.
Referenced by ServiceRep().
|
protectedvirtualinherited |
Reimplemented in Adaptation::AccessCheck, Adaptation::Ecap::XactionRep, Adaptation::Icap::Launcher, Adaptation::Icap::ModXact, Adaptation::Icap::OptXact, Adaptation::Icap::Xaction, Adaptation::Iterator, ConnStateData, Ftp::Client, Ftp::Gateway, Ftp::Relay, Http::Tunneler, Comm::ConnOpener, Comm::TcpAcceptor, Downloader, Rock::HeaderUpdater, Rock::Rebuild, HappyConnOpener, HttpStateData, Ipc::Coordinator, Ipc::Forwarder, Ipc::Inquirer, Ipc::Strand, Ipc::UdsSender, Log::TcpLogger, Mgr::ActionWriter, Mgr::Filler, Mgr::Inquirer, Mgr::StoreToCommWriter, PeerPoolMgr, Security::PeerConnector, Ftp::Server, Http::One::Server, Server, Snmp::Inquirer, and Ipc::Port.
Definition at line 59 of file AsyncJob.cc.
Referenced by Adaptation::AccessCheck::start(), Adaptation::Icap::Launcher::start(), Adaptation::Icap::Xaction::start(), Adaptation::Iterator::start(), ConnStateData::start(), Http::Tunneler::start(), Ipc::UdsSender::start(), PeerPoolMgr::start(), Security::PeerConnector::start(), Ipc::Port::start(), and AsyncJob::Start().
|
staticinherited |
Promises to start the configured job (eventually). The job is deemed to be running asynchronously beyond this point, so the caller should only access the job object via AsyncCalls rather than directly.
swanSong() is only called for jobs for which this method has returned successfully (i.e. without throwing).
Definition at line 37 of file AsyncJob.cc.
References CallJobHere, AsyncJob::start(), and AsyncJob::started_.
Referenced by Ftp::Server::AcceptCtrlConnection(), clientListenerConnectionOpened(), Ipc::Coordinator::handleCacheMgrRequest(), Ipc::Coordinator::handleSnmpRequest(), httpAccept(), httpsAccept(), httpStart(), idnsInitVC(), Ftp::Gateway::listenForDataChannel(), Ftp::Server::listenForDataConnection(), Log::TcpLogger::Open(), peerProbeConnect(), Mgr::FunAction::respond(), Mgr::InfoAction::respond(), Ipc::SendMessage(), Mgr::Inquirer::sendResponse(), snmpConstructReponse(), SquidMain(), CacheManager::start(), Adaptation::AccessCheck::Start(), Rock::Rebuild::Start(), JobWaitBase::start_(), BodyPipe::startAutoConsumptionIfNeeded(), Ftp::StartGateway(), Ftp::StartRelay(), and Rock::SwapDir::updateHeaders().
|
private |
Definition at line 598 of file ServiceRep.cc.
|
overrideprivatevirtual |
for debugging, starts with space
Reimplemented from AsyncJob.
Definition at line 679 of file ServiceRep.cc.
References MemBuf::append(), Packable::appendf(), MemBuf::content(), MemBuf::reset(), and MemBuf::terminate().
|
private |
Definition at line 280 of file ServiceRep.cc.
References DBG_IMPORTANT, debugs, Adaptation::Config::service_revival_delay, squid_curtime, and Adaptation::Icap::TheConfig.
|
inlineprotectedvirtualinherited |
Reimplemented in Adaptation::Ecap::XactionRep, Adaptation::Icap::Launcher, Adaptation::Icap::ModXact, Adaptation::Icap::ModXactLauncher, Adaptation::Icap::OptXact, Adaptation::Icap::Xaction, Adaptation::Initiate, Adaptation::Iterator, ConnStateData, Client, Ftp::Relay, Http::Tunneler, Comm::ConnOpener, Comm::TcpAcceptor, Downloader, Rock::HeaderUpdater, Rock::Rebuild, HappyConnOpener, Ipc::Forwarder, Ipc::Inquirer, Ipc::UdsSender, Log::TcpLogger, Mgr::Filler, Mgr::Forwarder, Mgr::StoreToCommWriter, PeerPoolMgr, Security::PeerConnector, Server, and Snmp::Forwarder.
Definition at line 61 of file AsyncJob.h.
Referenced by AsyncJob::callEnd(), Client::swanSong(), Ftp::Relay::swanSong(), Http::Tunneler::swanSong(), Comm::ConnOpener::swanSong(), Comm::TcpAcceptor::swanSong(), Rock::HeaderUpdater::swanSong(), HappyConnOpener::swanSong(), Ipc::UdsSender::swanSong(), Log::TcpLogger::swanSong(), PeerPoolMgr::swanSong(), Security::PeerConnector::swanSong(), and Server::swanSong().
|
pure virtualinherited |
Referenced by AsyncJob::callException(), and AsyncJob::callStart().
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 302 of file ServiceRep.cc.
|
inherited |
Definition at line 36 of file Service.cc.
References AnyP::Uri::absolutePath(), Adaptation::ServiceFilter::method, Adaptation::ServiceFilter::point, Adaptation::ServiceFilter::request, and HttpRequest::url.
Referenced by Adaptation::ServiceGroup::findService().
Definition at line 331 of file ServiceRep.cc.
References Must, and Adaptation::Icap::Options::xferPreview.
|
overridevirtual |
Implements Adaptation::Service.
Definition at line 325 of file ServiceRep.cc.
References Must, and Adaptation::Icap::Options::xferIgnore.
|
inlineprotectedinherited |
Definition at line 62 of file Service.h.
References Adaptation::Service::theConfig.
|
mutableprivate |
Definition at line 144 of file ServiceRep.h.
|
inherited |
Definition at line 75 of file AsyncJob.h.
|
protectedinherited |
Definition at line 86 of file AsyncJob.h.
Referenced by AsyncJob::callEnd(), AsyncJob::callStart(), AsyncJob::canBeCalled(), AsyncJob::deleteThis(), and AsyncJob::mustStop().
|
private |
Definition at line 191 of file ServiceRep.h.
|
private |
Definition at line 148 of file ServiceRep.h.
|
private |
Definition at line 150 of file ServiceRep.h.
| Security::ContextPointer Adaptation::Icap::ServiceRep::sslContext |
Definition at line 114 of file ServiceRep.h.
| Security::SessionStatePointer Adaptation::Icap::ServiceRep::sslSession |
Definition at line 117 of file ServiceRep.h.
|
protectedinherited |
Definition at line 88 of file AsyncJob.h.
Referenced by AsyncJob::~AsyncJob(), AsyncJob::callEnd(), and AsyncJob::Start().
|
protectedinherited |
Definition at line 84 of file AsyncJob.h.
Referenced by AsyncJob::deleteThis(), AsyncJob::done(), AsyncJob::mustStop(), AsyncJob::status(), and HappyConnOpener::status().
|
protectedinherited |
Definition at line 89 of file AsyncJob.h.
Referenced by AsyncJob::~AsyncJob(), and AsyncJob::callEnd().
|
private |
number of xactions waiting for a connection slot (notified and not) the number is decreased after the xaction receives notification
Definition at line 141 of file ServiceRep.h.
Referenced by existWaiters(), and noteNewWaiter().
|
private |
number of connections given to active transactions
Definition at line 138 of file ServiceRep.h.
|
private |
Definition at line 129 of file ServiceRep.h.
|
privateinherited |
Definition at line 65 of file Service.h.
Referenced by Adaptation::Service::Service(), Adaptation::Service::cfg(), and Adaptation::Service::writeableCfg().
|
private |
Definition at line 145 of file ServiceRep.h.
Referenced by ServiceRep().
|
private |
Definition at line 133 of file ServiceRep.h.
|
private |
Definition at line 142 of file ServiceRep.h.
|
private |
FIFO queue of xactions waiting for a connection slot and not yet notified about it; xaction is removed when notification is scheduled
Definition at line 137 of file ServiceRep.h.
|
private |
Definition at line 131 of file ServiceRep.h.
|
private |
Definition at line 132 of file ServiceRep.h.
|
private |
Definition at line 147 of file ServiceRep.h.
| Security::FuturePeerContext Adaptation::Icap::ServiceRep::tlsContext |
Definition at line 116 of file ServiceRep.h.
|
protectedinherited |
Definition at line 85 of file AsyncJob.h.
Referenced by AsyncJob::AsyncJob(), Adaptation::Icap::Xaction::Xaction(), AsyncJob::~AsyncJob(), AsyncJob::callEnd(), AsyncJob::callStart(), AsyncJob::deleteThis(), and AsyncJob::mustStop().
|
private |
Definition at line 151 of file ServiceRep.h.
|
mutableprivate |
Definition at line 190 of file ServiceRep.h.