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

org.ak.trafficController.RunnableToBeExecuted Maven / Gradle / Ivy

Go to download

This deals with different aspects like In memory queue, throttling, event management etc

There is a newer version: 2.1.0
Show newest version
package org.ak.trafficController;

/**
 * A runnable which can also throw exception.
 * Java runnable could be used in most of the cases but where any method throws any exception, we need to handle the exception there itself.
 * As we also have option to attach exception handlers, we need to overcome this. 
 * @author amit.khosla
 *
 */
@FunctionalInterface
public interface RunnableToBeExecuted {
	/**
	 * Runs the task which we want to execute.
	 * @throws Throwable Throws in case any exception occurs
	 */
	public void run() throws Throwable;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy