]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/Blocking/BlockingIOStrategy.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / DiskIO / Blocking / BlockingIOStrategy.h
1 /*
2 * Copyright (C) 1996-2020 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 /* DEBUG: section 47 Store Directory Routines */
10
11 #ifndef SQUID_BLOCKINGIOSTRATEGY_H
12 #define SQUID_BLOCKINGIOSTRATEGY_H
13 #include "DiskIO/DiskIOStrategy.h"
14
15 class BlockingIOStrategy : public DiskIOStrategy
16 {
17
18 public:
19 virtual bool shedLoad();
20 virtual int load();
21 virtual RefCount<DiskFile> newFile(char const *path);
22 virtual bool unlinkdUseful() const;
23 virtual void unlinkFile (char const *);
24 };
25
26 #endif /* SQUID_BLOCKINGIOSTRATEGY_H */
27