com.afrigis.services.ext.AsyncCapable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core Java library to ease use of AfriGIS Services
package com.afrigis.services.ext;
import java.util.concurrent.ExecutorService;
/**
* Interface for services that will be providing async calls. The main goal is
* to be able to pass a common thread pool around easily and consistently.
*
* @author hendrikc
*
*/
public interface AsyncCapable {
/**
*
* Method by which an implementor receives functional
* {@link ExecutorService}.
*
*
* @param execService
* a working {@link ExecutorService}
*/
void setExecService(ExecutorService execService);
}