public void setReconnectAttempts(int reconnectAttempts) { cfConfig.setReconnectAttempts(reconnectAttempts); recreateCF(); }