]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/IoAction.h
6487247c1fbc59aa6a785abaea8a9014716c41d4
2 * DEBUG: section 16 Cache Manager API
6 #ifndef SQUID_MGR_IO_ACTION_H
7 #define SQUID_MGR_IO_ACTION_H
9 #include "mgr/Action.h"
15 /// store server-side network read() size histograms
20 IoActionData
& operator += (const IoActionData
& stats
);
26 double http_read_hist
[IoStats::histSize
];
27 double ftp_read_hist
[IoStats::histSize
];
28 double gopher_read_hist
[IoStats::histSize
];
31 /// implement aggregated 'io' action
32 class IoAction
: public Action
35 IoAction(const CommandPointer
&cmd
);
38 static Pointer
Create(const CommandPointer
&cmd
);
40 virtual void add(const Action
& action
);
41 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
42 virtual void unpack(const Ipc::TypedMsgHdr
& msg
);
46 virtual void collect();
47 virtual void dump(StoreEntry
* entry
);
55 #endif /* SQUID_MGR_IO_ACTION_H */