]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/DiskDaemon/DiskdAction.h
2 * DEBUG: section 79 Squid-side DISKD I/O functions.
6 #ifndef SQUID_DISKD_ACTION_H
7 #define SQUID_DISKD_ACTION_H
9 #include "ipc/forward.h"
10 #include "mgr/forward.h"
11 #include "mgr/Action.h"
13 /// store disk daemon stats
18 DiskdActionData
& operator += (const DiskdActionData
& stats
);
25 double open_fail_queue_len
;
26 double block_queue_len
;
31 double create_success
;
37 double unlink_success
;
47 /// implement aggregated 'diskd' action
48 class DiskdAction
: public Mgr::Action
51 DiskdAction(const Mgr::CommandPointer
&aCmd
);
54 static Pointer
Create(const Mgr::CommandPointer
&aCmd
);
56 virtual void add(const Mgr::Action
& action
);
57 virtual void pack(Ipc::TypedMsgHdr
& hdrMsg
) const;
58 virtual void unpack(const Ipc::TypedMsgHdr
& hdrMsg
);
62 virtual void collect();
63 virtual void dump(StoreEntry
* entry
);
69 #endif /* SQUID_DISKD_ACTION_H */