]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
582c2af2 | 9 | #include "squid.h" |
e2851fe7 AR |
10 | #include "MmappedDiskIOModule.h" |
11 | #include "MmappedIOStrategy.h" | |
12 | ||
13 | MmappedDiskIOModule::MmappedDiskIOModule() | |
14 | { | |
15 | ModuleAdd(*this); | |
16 | } | |
17 | ||
18 | MmappedDiskIOModule & | |
19 | MmappedDiskIOModule::GetInstance() | |
20 | { | |
21 | return Instance; | |
22 | } | |
23 | ||
24 | void | |
25 | MmappedDiskIOModule::init() | |
26 | {} | |
27 | ||
28 | void | |
1e1a9021 | 29 | MmappedDiskIOModule::gracefulShutdown() |
e2851fe7 AR |
30 | {} |
31 | ||
e2851fe7 AR |
32 | DiskIOStrategy* |
33 | MmappedDiskIOModule::createStrategy() | |
34 | { | |
35 | return new MmappedIOStrategy(); | |
36 | } | |
37 | ||
38 | MmappedDiskIOModule MmappedDiskIOModule::Instance; | |
39 | ||
40 | char const * | |
41 | MmappedDiskIOModule::type () const | |
42 | { | |
43 | return "Mmapped"; | |
44 | } |