]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DiskIO/Mmapped/MmappedDiskIOModule.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / DiskIO / Mmapped / MmappedDiskIOModule.cc
CommitLineData
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
582c2af2 9#include "squid.h"
e2851fe7
AR
10#include "MmappedDiskIOModule.h"
11#include "MmappedIOStrategy.h"
12
13MmappedDiskIOModule::MmappedDiskIOModule()
14{
15 ModuleAdd(*this);
16}
17
18MmappedDiskIOModule &
19MmappedDiskIOModule::GetInstance()
20{
21 return Instance;
22}
23
24void
25MmappedDiskIOModule::init()
26{}
27
28void
1e1a9021 29MmappedDiskIOModule::gracefulShutdown()
e2851fe7
AR
30{}
31
e2851fe7
AR
32DiskIOStrategy*
33MmappedDiskIOModule::createStrategy()
34{
35 return new MmappedIOStrategy();
36}
37
38MmappedDiskIOModule MmappedDiskIOModule::Instance;
39
40char const *
41MmappedDiskIOModule::type () const
42{
43 return "Mmapped";
44}
f53969cc 45