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.StmtListenerAddRemoveCallable.java

public class StmtListenerAddRemoveCallable implements Callable {
    private final EPServiceProvider engine;
    private final EPStatement stmt;
    private final boolean isEPL;
    private final int numRepeats;

From source file org.immutables.gson.stream.JsonParserReader.java

/**
 * {@link JsonReader} impementation backed by Jackson's {@link JsonParser}.
 * Provides measurable JSON parsing improvements over Gson's native implementation.
 * Error reporting might differ, however.
 */
@NotThreadSafe

From source file org.drftpd.protocol.speedtest.net.slave.SpeedTestCallable.java

/**
 * @author scitz0
 */
public class SpeedTestCallable implements Callable<Long> {

    private static final Logger logger = Logger.getLogger(SpeedTestCallable.class);

From source file dk.netarkivet.harvester.indexserver.DigestIndexerWorker.java

/** 
 * This worker class handles the indexing of one single crawl-log 
 * and associated cdxfile. 
 */
public class DigestIndexerWorker implements Callable<Boolean> {

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

public class StmtMgmtCallable implements Callable {
    private final EPServiceProvider engine;
    private final Object[][] statements;
    private final int numRepeats;

    public StmtMgmtCallable(EPServiceProvider engine, Object[][] statements, int numRepeats) {

From source file com.linkedin.whiteelephant.mapreduce.lib.job.StagedOutputJob.java

/**
 *
 */
public class StagedOutputJob extends Job implements Callable<Boolean> {
    private final String stagingPrefix;
    private final Logger log;

From source file org.apache.stratos.mediator.autoscale.lbautoscale.callables.AppNodeSanityCheckCallable.java

/** Performing sanity checks for each service domain, sub domain combination **/
public class AppNodeSanityCheckCallable implements Callable<Boolean> {

    private static final Log log = LogFactory.getLog(AppNodeSanityCheckCallable.class);
    private String domain;
    private String subDomain;

From source file org.onexus.data.loader.file.internal.FileCallable.java

public class FileCallable implements Callable<IDataStreams> {

    private Progress progress;
    private Plugin plugin;
    private Data data;

From source file org.apache.hama.monitor.fd.UDPSensor.java

/**
 * Failure detector UDP client.
 */
public class UDPSensor implements Sensor, Callable<Object> {

    public static final Log LOG = LogFactory.getLog(UDPSensor.class);

From source file me.lachlanap.summis.downloader.VerifierCallable.java

/**
 *
 * @author Lachlan Phillips
 */
class VerifierCallable implements Callable<Void> {
    private final FileInfo info;