]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
bbc27441 AJ |
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 | ||
e2851fe7 AR |
9 | #ifndef SQUID_MMAPPEDIOSTRATEGY_H |
10 | #define SQUID_MMAPPEDIOSTRATEGY_H | |
11 | #include "DiskIO/DiskIOStrategy.h" | |
12 | ||
13 | class MmappedIOStrategy : public DiskIOStrategy | |
14 | { | |
15 | ||
16 | public: | |
17 | virtual bool shedLoad(); | |
18 | virtual int load(); | |
19 | virtual RefCount<DiskFile> newFile(char const *path); | |
c521ad17 | 20 | virtual bool unlinkdUseful() const; |
e2851fe7 AR |
21 | virtual void unlinkFile (char const *); |
22 | }; | |
23 | ||
24 | #endif /* SQUID_MMAPPEDIOSTRATEGY_H */ | |
f53969cc | 25 |