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.gmail.ferusgrim.util.UuidGrabber.java

public class UuidGrabber implements Callable<Map<String, UUID>> {

    private final List<String> namesToLookup;

    public UuidGrabber(List<String> namesToLookup) {
        this.namesToLookup = ImmutableList.copyOf(namesToLookup);

From source file com.anrisoftware.sscontrol.scripts.findusedport.FindUsedPort.java

/**
 * Find the services for the specified ports.
 *
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file com.anrisoftware.globalpom.checkfilehash.CheckFileHash.java

/**
 * Checks the hash of the specified file.
 *
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 2.3
 */

From source file com.anrisoftware.sscontrol.scripts.unpack.Unpack.java

/**
 * Unpacks the archive.
 *
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file com.cloudera.oryx.als.computation.local.ReadInputs.java

final class ReadInputs implements Callable<Object> {

    private static final Logger log = LoggerFactory.getLogger(ReadInputs.class);

    private final File inputDir;
    private final boolean isInbound;

From source file org.openengsb.opencit.core.projectmanager.internal.CITTask.java

public class CITTask implements Callable<Boolean> {

    private static final long TIMEOUT = 3 * 60 * 60 * 1000; // 3 hours
    private WorkflowService workflowService;
    private SchedulingService scheduler;
    private long pid;

From source file org.pentaho.js.require.RebuildCacheCallable.java

public class RebuildCacheCallable implements Callable<String> {
    private final String baseUrl;

    private final Map<Long, Map<String, Object>> configMap;

    // pentaho-platform-plugin configuration scripts (legacy)

From source file it.michelepiccirillo.paperplane.client.Picture.java

/**
 * Immagine associata ad un oggetto proveniente da Facebook.
 * 
 * Questa classe implementa {@link java.util.concurrent.Callable} e pertanto &egrave; utilizzabile in modo asincrono in associazione
 * con una {@link AsyncQueue} per recuperare dalla rete i dati necessari al suo funzionamento.
 * 

From source file me.realized.tm.utilities.profile.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
 *
 * @author evilmidget38

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

public class RecoveryTask implements Callable<Void> {
    private Channel channel;
    private Logger logger = Logger.getLogger(getClass());

    public RecoveryTask(Channel channel) {
        this.channel = channel;