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

org.jslipc.TimeoutAware Maven / Gradle / Ivy

There is a newer version: 0.2.3
Show newest version
package org.jslipc;

/**
 * Implemented by classes that support a timeout for blocking operations..
 */
public interface TimeoutAware {

	/**
	 * @return the timeout to wait on blocking operations.
	 */
	public int getTimeout();

	/**
	 * Sets the timeout to wait on blocking operations.
	 * Must be >= 0. A value of 0 means wait infinitely.
	 * @param timeout
	 */
	public void setTimeout(int timeout);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy