InfoAction.cc
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:311
class Ping::pingStats_ stats
double request_hit_mem_ratio60
Definition: InfoAction.h:49
int KidIdentifier
double request_hit_disk_ratio60
Definition: InfoAction.h:51
InfoActionData & operator+=(const InfoActionData &stats)
Definition: InfoAction.cc:32
virtual void unpack(const Ipc::TypedMsgHdr &msg)
unpack action info from the message received by Coordinator
Definition: InfoAction.cc:164
virtual void pack(Ipc::TypedMsgHdr &msg) const
pack collected action info into a message to be sent to Coordinator
Definition: InfoAction.cc:157
virtual void add(const Action &action)
incrementally merge in remote information (of the same action type)
Definition: InfoAction.cc:117
virtual void respond(const Request &request)
respond to Coordinator request; default is to collect and sendResponse
Definition: InfoAction.cc:124
double avg_client_http_requests
Definition: InfoAction.h:40
virtual void collect()
calculate and keep local action-specific information
Definition: InfoAction.cc:134
Definition: InfoAction.h:23
Definition: Action.h:25
Definition: Store.h:42
static Pointer Create(const CommandPointer &cmd)
Definition: InfoAction.cc:105
double request_hit_disk_ratio5
Definition: InfoAction.h:50
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:33
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
bool UsingSmp()
Whether there should be more than one worker process running.
Definition: tools.cc:693