5 #include "ReturnMatcher.hpp"
8 class MemcachedCluster {
11 memcached_st memc{empty_memc};
12 ReturnMatcher returns{&memc};
16 MemcachedCluster(Cluster &&cluster);
19 MemcachedCluster(const MemcachedCluster &) = delete;
20 MemcachedCluster &operator=(const MemcachedCluster &) = delete;
22 MemcachedCluster(MemcachedCluster &&mc);;
23 MemcachedCluster &operator=(MemcachedCluster &&mc);
25 void enableBinaryProto(bool enable = true);
26 void enableBuffering(bool enable = true);
27 void enableReplication();
30 static MemcachedCluster mixed();
31 static MemcachedCluster network();
32 static MemcachedCluster socket();
35 static const memcached_st empty_memc;