code: @Override
  	public void terminateAllConnections() {
  		this.terminationLock.lock();
  		try {
  			for (int i = 0; i < this.pool.thriftServerCount; i++) {
  				this.pool.partitions.get(i).setUnableToCreateMoreTransactions(false);
  				List<ThriftConnectionHandle<T>> clist = new LinkedList<>();
  				this.pool.partitions.get(i).getFreeConnections().drainTo(clist);
  				for (ThriftConnectionHandle<T> c : clist) {
  					this.pool.destroyConnection(c);
  				}
  
  			}
  		} finally {
  			this.terminationLock.unlock();
  		}
  	}
docs: /*
  @see
  com.wmz7year.thrift.pool.ThriftConnectionStrategy#terminateAllConnections
  ()