/*
- * DEBUG: section 16 Cache Manager API
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
*/
+/* DEBUG: section 16 Cache Manager API */
+
#ifndef SQUID_MGR_INTERVAL_ACTION_H
#define SQUID_MGR_INTERVAL_ACTION_H
double swap_ins;
double swap_files_cleaned;
double aborted_requests;
+ double hitValidationAttempts;
+ double hitValidationRefusalsDueToLocking;
+ double hitValidationRefusalsDueToZeroSize;
+ double hitValidationRefusalsDueToTimeLimit;
+ double hitValidationFailures;
double syscalls_disk_opens;
double syscalls_disk_closes;
double syscalls_disk_reads;
static Pointer Create5min(const CommandPointer &cmd);
static Pointer Create60min(const CommandPointer &cmd);
/* Action API */
- virtual void add(const Action& action);
- virtual void pack(Ipc::TypedMsgHdr& msg) const;
- virtual void unpack(const Ipc::TypedMsgHdr& msg);
+ void add(const Action& action) override;
+ void pack(Ipc::TypedMsgHdr& msg) const override;
+ void unpack(const Ipc::TypedMsgHdr& msg) override;
protected:
/* Action API */
- virtual void collect();
- virtual void dump(StoreEntry* entry);
+ void collect() override;
+ void dump(StoreEntry* entry) override;
private:
int minutes;
} // namespace Mgr
#endif /* SQUID_MGR_INTERVAL_ACTION_H */
+