]>
Commit | Line | Data |
---|---|---|
59b2d47f | 1 | /* |
77b1029d | 2 | * Copyright (C) 1996-2020 The Squid Software Foundation and contributors |
59b2d47f | 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 | ||
b9ae18aa | 9 | #ifndef SQUID_DISKTHREADSDISKIOMODULE_H |
10 | #define SQUID_DISKTHREADSDISKIOMODULE_H | |
59b2d47f | 11 | |
b9ae18aa | 12 | #include "DiskIO/DiskIOModule.h" |
59b2d47f | 13 | |
b9ae18aa | 14 | class DiskThreadsDiskIOModule : public DiskIOModule |
59b2d47f | 15 | { |
16 | ||
17 | public: | |
b9ae18aa | 18 | static DiskThreadsDiskIOModule &GetInstance(); |
19 | DiskThreadsDiskIOModule(); | |
20 | virtual void init(); | |
6fdc2d18 | 21 | //virtual void registerWithCacheManager(void); |
1e1a9021 | 22 | virtual void gracefulShutdown(); |
b9ae18aa | 23 | virtual char const *type () const; |
24 | virtual DiskIOStrategy* createStrategy(); | |
25 | ||
26 | private: | |
27 | static DiskThreadsDiskIOModule Instance; | |
59b2d47f | 28 | }; |
29 | ||
b9ae18aa | 30 | #endif /* SQUID_DISKTHREADSDISKIOMODULE_H */ |
f53969cc | 31 |