AIODiskIOModule.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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"
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 
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 
static CodeContext::Pointer & Instance()
guarantees the forever existence of the pointer, starting from the first use
Definition: CodeContext.cc:26

 

Introduction

Documentation

Support

Miscellaneous