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.n52.sir.listener.harvest.Harvester.java

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

From source file pt.webdetails.cpf.InterPluginCall.java

/**
 * Call to another pentaho plugin getting the bean from the plugin bean factory.
 * Not thread safe. - really ? Why not ?
 */
public class InterPluginCall implements Runnable, Callable<String>, IPluginCall {

From source file net.ghostrealms.util.uuid.UUIDLib.java

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";
    private final JSONParser jsonParser = new JSONParser();
    private final List<String> names;
    private final boolean rateLimiting;

From source file com.bazaarvoice.seo.sdk.BVUIContentServiceProvider.java

/**
 * Implementation class for {@link BVUIContentService}. This class is a self
 * executable of Callable and Future and returns StringBuilder upon execution.
 *
 * @author Anandan Narayanaswamy
 *

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

/**
 * UDP supervisor is responsible for receiving the heartbeat and output
 * suspicion level for Interpreter.
 */
public class UDPSupervisor implements Supervisor, Callable<Object> {

From source file org.silverpeas.migration.jcr.attachment.ComponentAttachmentMigrator.java

/**
 * Migrat the content of a component to JCR storage.
 */
public class ComponentAttachmentMigrator implements Callable<Long> {

    public static final String SELECT_ATTACHMENTS = "SELECT attachmentid, attachmentphysicalname, "

From source file org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.sharedcache.SharedCacheUploader.java

/**
 * The callable class that handles the actual upload to the shared cache.
 */
class SharedCacheUploader implements Callable<Boolean> {
    // rwxr-xr-x
    static final FsPermission DIRECTORY_PERMISSION = new FsPermission((short) 00755);

From source file com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob2.java

/**
 * An abstract Job implementation
 * to be scheduled on {@link com.sonymobile.tools.gerrit.gerritevents.GerritSendCommandQueue}.
 *
 * @author rinrinne (rinrin.ne@gmail.com)
 */

From source file edu.illinois.ncsa.versus.engine.impl.ComputeCallable.java

/**
 * Callable version of the ComputeThread. Currently used in
 * {@link ComprehensiveEngine}. Should be probably used in the
 * {@link ExecutionEngine} as well.
 * 
 * @author Luigi Marini

From source file org.openbaton.nfvo.vnfm_reg.tasks.abstracts.AbstractTask.java

/**
 * Putting these annotations only here won't work.
 */
@Service
@Scope("prototype")
public abstract class AbstractTask implements Callable<NFVMessage>, ApplicationEventPublisherAware {