/*
 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
 *
 * Squid software is distributed under GPLv2+ license and includes
 * contributions from numerous individuals and organizations.
 * Please see the COPYING and CONTRIBUTORS files for details.
 */

#ifndef SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H
#define SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H

#if HAVE_DISKIO_MODULE_AIO

#include "DiskIO/DiskIOModule.h"

class AIODiskIOModule : public DiskIOModule
{

public:
    static AIODiskIOModule &GetInstance();
    AIODiskIOModule();
    void init() override;
    void gracefulShutdown() override;
    char const *type () const override;
    DiskIOStrategy* createStrategy() override;

private:
    static AIODiskIOModule Instance;
};

#endif /* HAVE_DISKIO_MODULE_AIO */
#endif /* SQUID_SRC_DISKIO_AIO_AIODISKIOMODULE_H */

