memcached_server_st *memcached_instance_2_server(org::libmemcached::Instance* source);
-uint32_t memcached_instance_count(const memcached_st* self);
-
uint32_t memcached_instance_response_count(const org::libmemcached::Instance* self);
void __instance_free(org::libmemcached::Instance *);
: self->number_of_hosts;
}
-uint32_t memcached_instance_count(const memcached_st* self)
-{
- return (self == NULL)
- ? 0
- : self->number_of_hosts;
-}
-
void memcached_instance_set(memcached_st* memc, org::libmemcached::Instance* list)
{
memc->servers= list;
org::libmemcached::Instance* memcached_instance_list(const memcached_st *);
-uint32_t memcached_instance_count(const memcached_st*);
-
uint32_t memcached_instance_list_count(const memcached_st*);
uint32_t memcached_servers_set_count(memcached_server_list_st servers, uint32_t count);
// host_to_shutdown => host number to shutdown in array
bool server_startup_st::shutdown(uint32_t host_to_shutdown)
{
- Error << servers.size() << " > " << host_to_shutdown;
if (servers.size() > host_to_shutdown)
{
Server* tmp= servers[host_to_shutdown];