killme2008 / xmemcached

High performance, easy to use multithreaded memcached client in java.
http://fnil.net/xmemcached
Apache License 2.0
757 stars 281 forks source link

Allow disabling address resolution #115

Closed mirlord closed 4 years ago

mirlord commented 4 years ago

When client does DNS lookup by itself and provides raw IP addresses to XMemcachedClient - it should be possible to disable any automatic hostname resolution. Otherwise it might cause conflicts.

For the same purpose client should be able to remove a server using raw address, not a host name. Exposed method should be renamed to removeServer to be consistent with a complimentary pair of addServer methods.

killme2008 commented 4 years ago

@mirlord Thank u.

mirlord commented 4 years ago

Damn, I'm sorry for a broken build. I renamed a method at the very last moment and forgot to verify it. Thanks for fixing.