]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/AIO/AIODiskIOModule.cc
merge from trunk r14590
[thirdparty/squid.git] / src / DiskIO / AIO / AIODiskIOModule.cc
1 /*
2 * Copyright (C) 1996-2016 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 #include "squid.h"
10 #include "DiskIO/AIO/AIODiskIOModule.h"
11 #include "DiskIO/AIO/AIODiskIOStrategy.h"
12 #include "Store.h"
13
14 AIODiskIOModule::AIODiskIOModule()
15 {
16 ModuleAdd(*this);
17 }
18
19 AIODiskIOModule &
20 AIODiskIOModule::GetInstance()
21 {
22 return Instance;
23 }
24
25 void
26 AIODiskIOModule::init()
27 {}
28
29 void
30 AIODiskIOModule::gracefulShutdown()
31 {}
32
33 DiskIOStrategy *
34 AIODiskIOModule::createStrategy()
35 {
36 return new AIODiskIOStrategy();
37 }
38
39 AIODiskIOModule AIODiskIOModule::Instance;
40
41 char const *
42 AIODiskIOModule::type () const
43 {
44 return "AIO";
45 }
46