ServiceTimesAction.cc
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:311
ServiceTimesActionData & operator+=(const ServiceTimesActionData &stats)
Definition: ServiceTimesAction.cc:28
implement aggregated 'service_times' action
Definition: ServiceTimesAction.h:49
class Ping::pingStats_ stats
virtual void collect()
calculate and keep local action-specific information
Definition: ServiceTimesAction.cc:77
ServiceTimesActionData()
Definition: ServiceTimesAction.cc:22
void DumpServiceTimesStats(Mgr::ServiceTimesActionData &stats, StoreEntry *sentry)
Definition: stat.cc:824
static Pointer Create(const CommandPointer &cmd)
Definition: ServiceTimesAction.cc:58
virtual void add(const Action &action)
incrementally merge in remote information (of the same action type)
Definition: ServiceTimesAction.cc:70
ServiceTimesAction(const CommandPointer &cmd)
Definition: ServiceTimesAction.cc:63
void GetServiceTimesStats(Mgr::ServiceTimesActionData &stats)
Definition: stat.cc:796
virtual void pack(Ipc::TypedMsgHdr &msg) const
pack collected action info into a message to be sent to Coordinator
Definition: ServiceTimesAction.cc:92
Definition: Action.h:25
Definition: Store.h:42
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:33
virtual void unpack(const Ipc::TypedMsgHdr &msg)
unpack action info from the message received by Coordinator
Definition: ServiceTimesAction.cc:99
virtual void dump(StoreEntry *entry)
Definition: ServiceTimesAction.cc:84