InfoAction.cc
Go to the documentation of this file.
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
Definition: Action.h:25
Definition: InfoAction.h:23
double request_hit_disk_ratio60
Definition: InfoAction.h:51
double request_hit_mem_ratio60
Definition: InfoAction.h:49
double avg_client_http_requests
Definition: InfoAction.h:40
double request_hit_disk_ratio5
Definition: InfoAction.h:50
InfoActionData & operator+=(const InfoActionData &stats)
Definition: InfoAction.cc:32
static Pointer Create(const CommandPointer &cmd)
Definition: InfoAction.cc:105
void respond(const Request &request) override
respond to Coordinator request; default is to collect and sendResponse
Definition: InfoAction.cc:124
void pack(Ipc::TypedMsgHdr &msg) const override
pack collected action info into a message to be sent to Coordinator
Definition: InfoAction.cc:157
void add(const Action &action) override
incrementally merge in remote information (of the same action type)
Definition: InfoAction.cc:117
void unpack(const Ipc::TypedMsgHdr &msg) override
unpack action info from the message received by Coordinator
Definition: InfoAction.cc:164
void collect() override
calculate and keep local action-specific information
Definition: InfoAction.cc:134
Definition: Store.h:42
int KidIdentifier
const Comm::ConnectionPointer & ImportFdIntoComm(const Comm::ConnectionPointer &conn, int socktype, int protocol, FdNoteId noteId)
import socket fd from another strand into our Comm state
Definition: UdsOp.cc:194
class Ping::pingStats_ stats
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:315
bool UsingSmp()
Whether there should be more than one worker process running.
Definition: tools.cc:696