CollapsingHistory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_COLLAPSING_HISTORY_H
10 #define SQUID_COLLAPSING_HISTORY_H
11 
14 {
15 public:
17  bool collapsed() const { return revalidationCollapses || otherCollapses; }
18 
19  /* These stats count collapsing decisions, regardless of their outcome. */
20 
24  int otherCollapses = 0;
25 };
26 
27 #endif /* SQUID_COLLAPSING_HISTORY_H */
28 
bool collapsed() const
whether at least one request was collapsed
collapsed forwarding history of a master transaction
int revalidationCollapses
the total number of collapsed internal revalidation requests
int otherCollapses
the total number of all other (a.k.a. "classic") collapsed requests

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors