forked from artyom-beilis/cppcms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcache_pool.h
More file actions
34 lines (30 loc) · 1.01 KB
/
Copy pathcache_pool.h
File metadata and controls
34 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <[email protected]>
//
// See accompanying file COPYING.TXT file for licensing details.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef CPPCMS_CACHE_POOL_H
#define CPPCMS_CACHE_POOL_H
#include <cppcms/defs.h>
#include <booster/noncopyable.h>
#include <booster/intrusive_ptr.h>
#include <booster/hold_ptr.h>
#include <cppcms/base_cache_fwd.h>
namespace cppcms {
namespace json { class value; }
namespace impl { class base_cache; }
/// \cond INTERNAL
class CPPCMS_API cache_pool {
public:
cache_pool(json::value const &settings);
~cache_pool();
booster::intrusive_ptr<impl::base_cache> get();
private:
struct _data;
booster::hold_ptr<_data> d;
};
/// \endcond
}
#endif