]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/StoreIoAction.h
4 * DEBUG: section 16 Cache Manager API
8 #ifndef SQUID_MGR_STORE_IO_ACTION_H
9 #define SQUID_MGR_STORE_IO_ACTION_H
11 #include "mgr/Action.h"
16 /// Store IO interface data
17 class StoreIoActionData
21 StoreIoActionData
& operator += (const StoreIoActionData
& stats
);
25 double create_select_fail
;
26 double create_create_fail
;
27 double create_success
;
30 /// implement aggregated 'store_io' action
31 class StoreIoAction
: public Action
34 StoreIoAction(const CommandPointer
&cmd
);
37 static Pointer
Create(const CommandPointer
&cmd
);
39 virtual void add(const Action
& action
);
40 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
41 virtual void unpack(const Ipc::TypedMsgHdr
& msg
);
45 virtual void collect();
46 virtual void dump(StoreEntry
* entry
);
49 StoreIoActionData data
;
54 #endif /* SQUID_MGR_STORE_IO_ACTION_H */