this.transcoder = transcoder;
this.sessionLocator = locator;
this.connector = this.newConnector(bufferAllocator, configuration,
this.sessionLocator, this.commandFactory,
this.connectionPoolSize, this.maxQueuedNoReplyOperations);
this.memcachedHandler = new MemcachedHandler(this);
this.connector.setHandler(this.memcachedHandler);
this.connector.setCodecFactory(new MemcachedCodecFactory());
this.connector.setSessionTimeout(-1);
this.connector.setSocketOptions(socketOptions);
if (this.isFailureMode()) {