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

net.sf.jabb.util.parallel.LoadDispatcher Maven / Gradle / Ivy

There is a newer version: 1.0.73
Show newest version
package net.sf.jabb.util.parallel;

/**
 * A dispatcher that can dispatch work load and get result.
 * The implementation can be a direct dispatcher to queue service, a non-clustered load balancer, or a clustered load balancer.
 * @author James Hu
 *
 * @param 	Work load
 * @param 	Result
 */
public interface LoadDispatcher {

	/**
	 * Dispatch the work load
	 * @param load	the work load
	 * @return	the result of the dispatching
	 */
	public abstract R dispatch(L load);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy