Browse files

Make queueReconnect protected so subclasses can request reconnects.

In fixing JCBC-53 on the Couchbase Java client, a need to queue
reconnections in some cluster configuration updates was found to be
required.  This change allows that.

Change-Id: I25ce3945b4e5e6527dd680031237be22faed69ee
Reviewed-by: Michael Wiederhold <>
Tested-by: Michael Wiederhold <>
  • Loading branch information...
1 parent ac6ccd8 commit 87158efd76ab3af2bd03ff4685e1add535ea3ea6 @ingenthr ingenthr committed with mikewied May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/spy/memcached/
@@ -501,7 +501,7 @@ static String dbgBuffer(ByteBuffer b, int size) {
return sb.toString();
- private void queueReconnect(MemcachedNode qa) {
+ protected void queueReconnect(MemcachedNode qa) {
if (!shutDown) {
getLogger().warn("Closing, and reopening %s, attempt %d.", qa,

0 comments on commit 87158ef

Please sign in to comment.