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.mobileconnectors.s3.transfermanager.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()}

From source file org.apache.hadoop.mapred.gridmix.GridmixJob.java

/**
 * Synthetic job generated from a trace description.
 */
abstract class GridmixJob implements Callable<Job>, Delayed {

    public static final String JOBNAME = "GRIDMIX";

From source file org.panbox.desktop.common.pairing.callables.NetworkPairingCallable.java

public class NetworkPairingCallable implements Callable<Void> {

    private final PairingType type;
    private final NetworkPairingInformation info;
    private final String password;
    private final PairingNotificationReceiver receiver;

From source file com.github.joshelser.accumulo.DelimitedIngest.java

/**
 * Ingests records read from files into an Accumulo table.
 */
public class DelimitedIngest implements Callable<Integer> {
    private static final Logger LOG = LoggerFactory.getLogger(DelimitedIngest.class);

From source file com.datastax.loader.CqlDelimLoadTask.java

class CqlDelimLoadTask implements Callable<Long> {
    private String BADPARSE = ".BADPARSE";
    private String BADINSERT = ".BADINSERT";
    private String LOG = ".LOG";
    private Session session;
    private String insert;

From source file com.intellectualcrafters.plot.uuid.UUIDFetcher.java

/**
 * UUID Fetcher From Bukkit
 */
public class UUIDFetcher implements Callable<Map<String, UUID>> {
    private static final double PROFILES_PER_REQUEST = 100;
    private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";

From source file org.dllearner.algorithms.qtl.experiments.PathDetectionTask.java

public class PathDetectionTask implements Callable<List<Path>> {

    private final OWLClass cls;
    private final SparqlEndpointKS ks;
    private final int minNrOfExamples;
    private final int depth;

From source file org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.java

/**
* @author Greg Hinkle
* @author Ian Springer
*/
public class RuntimeDiscoveryExecutor implements Runnable, Callable<InventoryReport> {
    private Log log = LogFactory.getLog(RuntimeDiscoveryExecutor.class);

From source file de.fiz.ddb.aas.auxiliaryoperations.ThreadOrganisationCreate.java

/**
 * 
 * @author bk
 */
public class ThreadOrganisationCreate extends LDAPEngineUtilityOrganisation
        implements Callable<Organisation>, Authorizable {

From source file org.n52.sir.listener.harvest.Harvester.java

/**
 * @author Daniel Nst (d.nuest@52north.org)
 * 
 */
public abstract class Harvester implements Callable<ISirResponse> {