
com.afrigis.services.ext.AsyncCapable Maven / Gradle / Ivy
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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy