/** * This method is called before the connection is connected. Implementations should add any * additional operations before the connection is connected. * loading the cluster defaults */ protected void beforeConnect() throws IOException { // Bootstrap once for clients if (!isConnected()) { if (!mContext.getConf().clusterDefaultsLoaded()) { mContext.updateWithClusterDefaults(mAddress); } } }