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.amazonaws.services.s3.transfer.internal.MultipartUploadCallable.java

public class MultipartUploadCallable implements Callable<UploadResult> {
    private final AmazonS3 s3;
    private final ExecutorService threadPool;
    private final PutObjectRequest putObjectRequest;

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

From source file com.codelanx.codelanxlib.util.auth.UUIDFetcher.java

/**
 * All credit to evilmidget38! A small bit of cleanup for Java 8. This class can
 * dynamically retrieve the relevant {@link UUID}s for one or multiple players
 * on the server
 *
 * @since 0.0.1

From source file uk.ac.sanger.cgp.wwdocker.callable.PushWork.java

/**
 *
 * @author kr2
 */
public class PushWork implements Callable<Integer> {
    private static final Logger logger = LogManager.getLogger();

From source file uk.ac.sanger.cgp.wwdocker.callable.PullWork.java

/**
 *
 * @author kr2
 */
public class PullWork implements Callable<Integer> {
    private static final Logger logger = LogManager.getLogger();

From source file com.globalsight.dispatcher.bo.JobTask.java

public class JobTask implements Callable<JobBO> {
    private static final Logger logger = Logger.getLogger(JobTask.class);
    JobBO job;

    public JobTask(JobBO p_job) {
        job = p_job;

From source file gridool.construct.GridTaskAdapter.java

/**
 * 
 * <DIV lang="en"></DIV>
 * <DIV lang="ja"></DIV>
 * 
 * @author Makoto YUI (yuin405@gmail.com)

From source file org.owasp.dependencycheck.data.update.nvd.DownloadTask.java

/**
 * A callable object to download two files.
 *
 * @author Jeremy Long
 */
public class DownloadTask implements Callable<Future<ProcessTask>> {

From source file org.rhq.core.pc.configuration.ConfigurationCheckExecutor.java

/**
 * @author Greg Hinkle
 */
public class ConfigurationCheckExecutor implements Runnable, Callable {
    private Log log = LogFactory.getLog(ConfigurationCheckExecutor.class);

From source file org.owasp.dependencycheck.data.update.task.DownloadTask.java

/**
 * A callable object to download two files.
 *
 * @author Jeremy Long
 */
public class DownloadTask implements Callable<Future<ProcessTask>> {

From source file com.amazonaws.services.s3.transfer.internal.UploadMonitor.java

/**
 * Manages an upload by periodically checking to see if the upload is done, and
 * returning a result if so. Otherwise, schedules a copy of itself to be run in
 * the future and returns null. When waiting on the result of this class via a
 * Future object, clients must call {@link UploadMonitor#isDone()} and
 * {@link UploadMonitor#getFuture()}