All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nf.fr.eraasoft.pool.impl.Controlable Maven / Gradle / Ivy

The newest version!
package nf.fr.eraasoft.pool.impl;

public interface Controlable {

	/**
	 * 
	 * @return number of idles objects
	 */
	public int idles();

	/**
	 * remove idle objects
	 * 
	 * @param nbObjects
	 *            number of idle objects to remove
	 */
	public void remove(int nbObjects);

	/**
	 * Clear the object pool
	 */
	public void clear();

	/**
	 * Destroy the pool
	 */

	public void destroy();

	/**
	 * 
	 * @return number of active objects
	 */

	public int actives();

	/**
	 * validate idle objects
	 */

	public void validateIdles();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy