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

com.afrigis.services.ext.AsyncCapable Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy