source: squid-ssl/trunk/fuentes/src/DiskIO/Mmapped/MmappedIOStrategy.h @ 5495

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

Initial release

File size: 678 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_MMAPPEDIOSTRATEGY_H
10#define SQUID_MMAPPEDIOSTRATEGY_H
11#include "DiskIO/DiskIOStrategy.h"
12
13class MmappedIOStrategy : public DiskIOStrategy
14{
15
16public:
17    virtual bool shedLoad();
18    virtual int load();
19    virtual RefCount<DiskFile> newFile(char const *path);
20    virtual bool unlinkdUseful() const;
21    virtual void unlinkFile (char const *);
22};
23
24#endif /* SQUID_MMAPPEDIOSTRATEGY_H */
25
Note: See TracBrowser for help on using the repository browser.