95 keeper_waiter* waiter_;
96 std::map<std::string, double> addrs_;
99 bool direct(
const char* addr,
bool& found);
100 void remove(
const char* addr);
101 void update(
const char* addr,
double cost);
tcp_keeper & set_rw_timeout(int n)
tcp_keeper & set_conn_ttl(int ttl)
socket_stream * peek(const char *addr, bool *hit=NULL, bool sync=false)
tcp_keeper & set_conn_timeout(int n)
tcp_keeper & set_conn_max(int n)
tcp_keeper & set_conn_min(int n)
tcp_keeper & set_pool_ttl(int ttl)
tcp_keeper & set_rtt_min(double rtt)