/**
 * Copyright 2009-2012 OpenAIRE PROJECT (Bielefeld University)
 * Original author: Marek Imialek <marek.imialek at uni-bielefeld.de>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package eu.dnetlib.data.udm.rs;

/**
 * The Class DeliveryPreferences.
 * 
 * @author <a href="mailto:marek.imialek at uni-bielefeld.de">Marek Imialek</a>
 */
public class ResultSetIteratorPreferences {

	/** The rs closing timeout. */
	private long rsClosingTimeout;
	
	/** The rs iterator queue size. */
	private int rsIteratorQueueSize;
	
	/** The rs package size. */
	private int rsPackageSize;
	
	/** The max queue timeout. */
	private long maxQueueTimeout;

	/**
	 * Gets the rs iterator queue size.
	 * 
	 * @return the rs iterator queue size
	 */
	public int getRsIteratorQueueSize() {
		return rsIteratorQueueSize;
	}

	/**
	 * Gets the rs package size.
	 * 
	 * @return the rs package size
	 */
	public int getRsPackageSize() {
		return rsPackageSize;
	}

	/**
	 * Gets the max queue timeout.
	 * 
	 * @return the max queue timeout
	 */
	public long getMaxQueueTimeout() {
		return maxQueueTimeout;
	}

	/**
	 * Gets the rs closing timeout.
	 * 
	 * @return the rs closing timeout
	 */
	public long getRsClosingTimeout() {
		
		return rsClosingTimeout;
	}

	/**
	 * Sets the max queue timeout.
	 * 
	 * @param maxQueueTimeout the maxQueueTimeout to set
	 */
	public void setMaxQueueTimeout(long maxQueueTimeout) {
		this.maxQueueTimeout = maxQueueTimeout;
	}

	/**
	 * Sets the rs package size.
	 * 
	 * @param rsPackageSize the rsPackageSize to set
	 */
	public void setRsPackageSize(int rsPackageSize) {
		this.rsPackageSize = rsPackageSize;
	}

	/**
	 * Sets the rs iterator queue size.
	 * 
	 * @param rsIteratorQueueSize the rsIteratorQueueSize to set
	 */
	public void setRsIteratorQueueSize(int rsIteratorQueueSize) {
		this.rsIteratorQueueSize = rsIteratorQueueSize;
	}

	/**
	 * Sets the rs closing timeout.
	 * 
	 * @param rsClosingTimeout the rsClosingTimeout to set
	 */
	public void setRsClosingTimeout(long rsClosingTimeout) {
		this.rsClosingTimeout = rsClosingTimeout;
	}

}
