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.aerospike.load.AsWriterTask.java

public class AsWriterTask implements Callable<Integer> {

    private AerospikeClient client;
    private WritePolicy writePolicy;
    private String nameSpace;
    private String set;

From source file org.pentaho.platform.plugin.action.ActionRunner.java

public class ActionRunner implements Callable<Boolean> {

    private static final Log logger = LogFactory.getLog(ActionRunner.class);

    private Map<String, Serializable> params;
    private IAction actionBean;

From source file org.dishevelled.thumbnail.examples.ThumbnailDrop.java

/**
 * Image directory watcher thumbnail example.
 *
 * @author  Michael Heuer
 */
public final class ThumbnailDrop implements Callable<Integer> {

From source file org.silverpeas.migration.jcr.version.ComponentDocumentMigrator.java

class ComponentDocumentMigrator implements Callable<Long> {

    public static final String SELECT_DOCUMENTS = "SELECT documentid, documentname, "
            + "documentdescription, documentstatus, documentownerid, documentcheckoutdate, documentinfo, "
            + "foreignid, instanceid, typeworklist, currentworklistorder, alertdate, expirydate, "
            + "documentordernum FROM sb_version_document WHERE instanceid = ? ORDER BY foreignid, "

From source file eu.scidipes.toolkits.pawebapp.preservation.PreserveFormManifestTask.java

/**
 * Callable task to preserve a {@link Form} instance as a {@link Manifest} on a specified {@link Registry} instance,
 * plus any enclosed digital object on the corresponding {@link Repository}.
 * 
 * @author Tom Bunting
 * 

From source file org.apache.hadoop.chukwa.dataloader.MetricDataLoader.java

public class MetricDataLoader implements Callable {
    private static Log log = LogFactory.getLog(MetricDataLoader.class);

    private Statement stmt = null;
    private ResultSet rs = null;
    private DatabaseConfig mdlConfig = null;

From source file org.pentaho.platform.scheduler2.action.ActionRunner.java

public class ActionRunner implements Callable<Boolean> {

    private static final Log logger = LogFactory.getLog(ActionRunner.class);

    private Map<String, Serializable> params;
    private IAction actionBean;

From source file net.solarnetwork.node.setup.obr.OBRProvisionTask.java

import org.osgi.framework.wiring.FrameworkWiring;
import org.osgi.service.obr.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.FileCopyUtils;
import org.springframework.util.StringUtils;

From source file org.carbondata.processing.globalsurrogategenerator.LevelGlobalSurrogateGeneratorThread.java

public class LevelGlobalSurrogateGeneratorThread implements Callable<Void> {
    /**
     * LOGGER
     */
    private static final LogService LOGGER = LogServiceFactory
            .getLogService(LevelGlobalSurrogateGeneratorThread.class.getName());

From source file org.lightjason.agentspeak.agent.IAgent.java

/**
 * agent interface
 *
 * @tparam T agent type
 */
public interface IAgent<T extends IAgent<?>> extends Callable<T> {