mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 17:00:52 +08:00
27 lines
453 B
C++
27 lines
453 B
C++
#include "acl_stdafx.hpp"
|
|
#ifndef ACL_PREPARE_COMPILE
|
|
#include "acl_cpp/memcache/memcache.hpp"
|
|
#include "acl_cpp/memcache/memcache_pool.hpp"
|
|
#endif
|
|
|
|
namespace acl
|
|
{
|
|
|
|
memcache_pool::memcache_pool(const char* addr, size_t count,
|
|
size_t idx /* = 0 */)
|
|
: connect_pool(addr, count, idx)
|
|
{
|
|
}
|
|
|
|
memcache_pool::~memcache_pool()
|
|
{
|
|
|
|
}
|
|
|
|
connect_client* memcache_pool::create_connect()
|
|
{
|
|
return NEW memcache(addr_);
|
|
}
|
|
|
|
} // namespace acl
|