Example usage for java.util.concurrent Callable interface-usage

List of usage examples for java.util.concurrent Callable interface-usage

Introduction

In this page you can find the example usage for java.util.concurrent Callable interface-usage.

Usage

From source file nl.uva.sne.disambiguators.WikiRequestor.java

/**
 *
 * @author S. Koulouzis
 */
public class WikiRequestor implements Callable {

From source file eu.edisonproject.training.wsd.WikiRequestor.java

/**
 *
 * @author S. Koulouzis
 */
public class WikiRequestor implements Callable {

From source file com.playhaven.android.req.UrlRequest.java

/**
 * Class for retrieving urls from client-api. 
 * This is used, for example, to retrieve Google Play urls when 
 * a user clicks a buy button.
 */
public class UrlRequest implements Callable<String> {

From source file com.netflix.dynomitemanager.sidecore.utils.RetryableCallable.java

public abstract class RetryableCallable<T> implements Callable<T> {
    private static final Logger logger = LoggerFactory.getLogger(RetryableCallable.class);
    public static final int DEFAULT_NUMBER_OF_RETRIES = 15;
    public static final long DEFAULT_WAIT_TIME = 100;
    private int retrys;
    private long waitTime;

From source file de.bmarwell.j9kwsolver.action.CaptchaSolveThread.java

/**
 * @author Benjamin Marwell
 *
 */
public class CaptchaSolveThread implements Callable<CaptchaSolutionResponse> {
    /**

From source file org.geowebcache.seed.MTSeeder.java

class MTSeeder implements Callable<GWCTask> {
    private static Log log = LogFactory.getLog(org.geowebcache.seed.MTSeeder.class);

    protected GWCTask task = null;

    public MTSeeder(GWCTask task) {

From source file wsattacker.sso.openid.attacker.evaluation.strategies.StringSimilarityCallable.java

public class StringSimilarityCallable implements Callable<Float> {

    private final String s1;
    private final String s2;

    public StringSimilarityCallable(String s1, String s2) {

From source file com.commoncoupon.mail.EmailProcessor.java

public class EmailProcessor implements Callable<Integer> {

    static private final Log log = LogFactory.getLog(EmailProcessor.class);

    private String from;
    private Object[] to;

From source file org.wso2.carbon.analytics.spark.core.deploy.CheckElectedLeaderExecutionCall.java

/**
 * Execution all for check elected leader
 */
public class CheckElectedLeaderExecutionCall implements Callable<Boolean>, Serializable {

    private static final long serialVersionUID = -155083315280606063L;

From source file org.wso2.carbon.analytics.spark.core.deploy.ElectLeaderExecutionCall.java

/**
 * Execution call for electing a leader
 */
public class ElectLeaderExecutionCall implements Callable<Integer>, Serializable {

    private static final long serialVersionUID = -155083315280606063L;