public void Invalidate(CassandraClient cassandraClient) { cassandraClient.CloseTransport(); }
public void Release(CassandraClient cassandraClient) { cassandraClient.CloseTransport(); }
private void destroy(CassandraClient cassandraClient) { this.logger.Debug(logger.StringFormatInvariantCulture("Pool '{0}' - Destroying '{1}'.", this.Name, cassandraClient)); cassandraClient.CloseTransport(); this.managedClientQuantity--; }