]>
Commit | Line | Data |
---|---|---|
59b2d47f | 1 | /* |
f6e9a3ee | 2 | * Copyright (C) 1996-2019 The Squid Software Foundation and contributors |
26ac0430 | 3 | * |
bbc27441 AJ |
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. | |
59b2d47f | 7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 47 Store Directory Routines */ |
10 | ||
b9ae18aa | 11 | #ifndef SQUID_BLOCKINGIOSTRATEGY_H |
12 | #define SQUID_BLOCKINGIOSTRATEGY_H | |
13 | #include "DiskIO/DiskIOStrategy.h" | |
59b2d47f | 14 | |
b9ae18aa | 15 | class BlockingIOStrategy : public DiskIOStrategy |
59b2d47f | 16 | { |
17 | ||
18 | public: | |
b9ae18aa | 19 | virtual bool shedLoad(); |
20 | virtual int load(); | |
21 | virtual RefCount<DiskFile> newFile(char const *path); | |
c521ad17 | 22 | virtual bool unlinkdUseful() const; |
b9ae18aa | 23 | virtual void unlinkFile (char const *); |
59b2d47f | 24 | }; |
25 | ||
b9ae18aa | 26 | #endif /* SQUID_BLOCKINGIOSTRATEGY_H */ |
f53969cc | 27 |