source: squid-ssl/trunk/fuentes/src/DiskIO/AIO/AIODiskIOModule.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 780 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 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#ifndef SQUID_AIODISKIOMODULE_H
10#define SQUID_AIODISKIOMODULE_H
11
12#if USE_DISKIO_AIO
13
14#include "DiskIO/DiskIOModule.h"
15
16class AIODiskIOModule : public DiskIOModule
17{
18
19public:
20    static AIODiskIOModule &GetInstance();
21    AIODiskIOModule();
22    virtual void init();
23    virtual void gracefulShutdown();
24    virtual char const *type () const;
25    virtual DiskIOStrategy* createStrategy();
26
27private:
28    static AIODiskIOModule Instance;
29};
30
31#endif /* USE_DISKIO_AIO */
32#endif /* SQUID_AIODISKIOMODULE_H */
33
Note: See TracBrowser for help on using the repository browser.