]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ipc/Kids.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / ipc / Kids.h
index bebe78a515e876f32cf7a59445e93c61395ac30a..89f49ff0b7a90d2f378ec5203711e46bce41b9a7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -36,6 +36,13 @@ public:
     /// whether all kids are hopeless
     bool allHopeless() const;
 
+    /// forgets all failures in all kids
+    void forgetAllFailures();
+
+    /// forgets all failures in hopeless kids that were dead for a long time
+    /// \returns seconds till the next check (zero if there are no hopeless kids left)
+    time_t forgetOldFailures();
+
     /// whether all kids called exited happy
     bool allExitedHappy() const;