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 org.voidsink.anewjkuapp.update.ImportCalendarTask.java

public class ImportCalendarTask implements Callable<Void> {

    private static final String TAG = ImportCalendarTask.class.getSimpleName();

    private static final Object sync_lock = new Object();

From source file de.tu_dortmund.ub.data.dswarm.Init.java

/**
 * Init-Task for Task Processing Unit for d:swarm<br/>
 * creates a resource + configuration + data model
 *
 * @author Dipl.-Math. Hans-Georg Becker (M.L.I.S.)
 * @author Jan Polowinski (SLUB Dresden)

From source file es.juntadeandalucia.panelGestion.negocio.vo.TaskVO.java

/**
 * Associated bean to manage the task operations
 *
 * @author GUADALTEL S.A
 */
public class TaskVO implements Callable<TaskVO>, Serializable {

From source file org.lychee.fs.hbase.HBaseFileUtils.java

class UploadRunnable implements Callable<String> {
    private static final Logger log = LoggerFactory.getLogger(UploadRunnable.class);

    private File thisUploadFile;
    private String thisUploadFileMD5;

From source file eu.europa.esig.dss.tsl.service.TSLParser.java

/**
 * This class allows to parse a TSL from JAXB object to DTO's. It can be executed as a Callable
 */
public class TSLParser implements Callable<TSLParserResult> {

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

From source file org.geoserver.wms.animate.FrameCatalogVisitor.java

/**
 * FrameLoader Callable task.
 * 
 * @author Alessio
 * 
 */

From source file org.apache.mahout.freqtermsets.PFPGrowth.java

/**
 * 
 * Parallel FP Growth Driver Class. Runs each stage of PFPGrowth as described in the paper
 * http://infolab.stanford.edu/~echang/recsys08-69.pdf
 * 
 */

From source file com.alu.e3.logger.LogCollector.java

/**
 * The LogCollector class provides an object to traverse the topology
 * and visit each instance, collecting log files to a repository on
 * the system manager.
 * 
 * There are still some unresolved issues in the design and/or

From source file org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.java

public class ContainerLaunch implements Callable<Integer> {

    private static final Log LOG = LogFactory.getLog(ContainerLaunch.class);

    public static final String CONTAINER_SCRIPT = Shell.appendScriptExtension("launch_container");
    public static final String FINAL_CONTAINER_TOKENS_FILE = "container_tokens";

From source file com.nts.alphamale.handler.ExecutorHandler.java

class SynchronousTask implements Callable<Map<String, Object>> {

    CommandLine adbShell;
    long timeout;

    public SynchronousTask(CommandLine adbShell, long timeout) {