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 com.espertech.esper.multithread.StmtNamedWindowUpdateCallable.java

public class StmtNamedWindowUpdateCallable implements Callable<StmtNamedWindowUpdateCallable.UpdateResult> {
    private final EPRuntimeSPI engine;
    private final int numRepeats;
    private final String threadName;
    private final List<UpdateItem> updates = new ArrayList<UpdateItem>();

From source file com.dsh105.echopet.compat.api.plugin.uuid.UUIDFetcher.java

/**
 * @author evilmidget38
 *         <p/>
 *         http://forums.bukkit.org/threads/250926/
 *         <p/>
 *         https://gist.github.com/evilmidget38/26d70114b834f71fb3b4

From source file com.samistine.echopet.compat.api.plugin.uuid.UUIDFetcher.java

/**
 * @author evilmidget38
 *         <p/>
 *         http://forums.bukkit.org/threads/250926/
 *         <p/>
 *         https://gist.github.com/evilmidget38/26d70114b834f71fb3b4

From source file com.amazonaws.services.kinesis.multilang.MultiLangDaemon.java

/**
 * Main app that launches the worker that runs the multi-language record processor.
 *
 * Requires a properties file containing configuration for this daemon and the KCL. A properties file should at minimum
 * define these properties:
 *

From source file com.mirth.connect.donkey.server.channel.DestinationChain.java

public class DestinationChain implements Callable<List<ConnectorMessage>> {

    private DestinationChainProvider chainProvider;
    private ConnectorMessage message;
    private List<Integer> enabledMetaDataIds = new ArrayList<Integer>();
    private Logger logger = Logger.getLogger(getClass());

From source file com.pinterest.deployservice.common.ChangeFeedJob.java

public final class ChangeFeedJob implements Callable<Void> {
    private static final Logger LOG = LoggerFactory.getLogger(ChangeFeedJob.class);
    private final int RETRIES = 3;
    private String payload;
    private String changeFeedUrl;
    private Object oriObj;

From source file io.ecarf.core.cloud.task.processor.reason.phase1.SaveResultsSubTask.java

/**
 * @author Omer Dawelbeit (omerio)
 *
 */
public class SaveResultsSubTask implements Callable<Void> {

From source file com.espertech.esper.multithread.StmtIterateCallable.java

public class StmtIterateCallable implements Callable {
    private static final Log log = LogFactory.getLog(StmtIterateCallable.class);
    private final int threadNum;
    private final EPServiceProvider engine;
    private final EPStatement stmt[];
    private final int numRepeats;

From source file com.espertech.esper.multithread.StmtNamedWindowSubqueryLookupCallable.java

public class StmtNamedWindowSubqueryLookupCallable implements Callable<Boolean> {
    private final EPServiceProvider engine;
    private final int numRepeats;
    private final int threadNum;
    private final EPStatement targetStatement;

From source file org.v2020.service.ie.LinkImportThread.java

/**
 * @author Daniel Murygin <dm[at]sernet[dot]de>
 */
public class LinkImportThread implements Callable<LinkImportContext> {

    private static final Logger LOG = LoggerFactory.getLogger(LinkImportThread.class);