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 de.blizzy.documentr.search.GetVisibleBranchDocIdsTask.java

class GetVisibleBranchDocIdsTask implements Callable<BitSet> {
    private IndexSearcher searcher;
    private Authentication authentication;
    private DocumentrPermissionEvaluator permissionEvaluator;

    GetVisibleBranchDocIdsTask(IndexSearcher searcher, Authentication authentication,

From source file com.elasticgrid.platforms.ec2.StartInstanceTask.java

public class StartInstanceTask implements Callable<List<String>> {
    private EC2NodeInstantiator nodeInstantiator;
    private String clusterName;
    private NodeProfile profile;
    private EC2NodeType instanceType;
    private String ami;

From source file org.yamj.filescanner.service.SendToCore.java

public class SendToCore implements Callable<StatusType> {

    private static final Logger LOG = LoggerFactory.getLogger(SendToCore.class);
    @Autowired
    private FileImportService fileImportService;
    private ImportDTO importDto;

From source file com.anrisoftware.sscontrol.scripts.mklink.MkLink.java

/**
 * Creates a link.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file org.darkware.wpman.actions.WPAction.java

/**
 * @author jeff
 * @since 2016-02-10
 */
public interface WPAction<T> extends Callable<T> {
    /**

From source file web.StreamMeetupComTask.java

/**
 *
 */
public class StreamMeetupComTask implements Callable<Void> {

    private MetricRegistry metrics;

From source file com.turt2live.hurtle.uuid.UUIDFetcher.java

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

From source file org.accelio.jxio.tests.benchmarks.ClientWorker.java

public class ClientWorker implements Callable<double[]> {
    private final ClientSession cs;
    private final EventQueueHandler eqh;
    private final MsgPool pool;
    private final int in_msgSize;
    private final int out_msgSize;

From source file com.anrisoftware.sscontrol.scripts.importdb.ImportDatabase.java

/**
 * Imports database tables and data.
 *
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file net.lldp.checksims.util.threading.SimilarityDetectionWorker.java

/**
 * Basic unit of thread execution for similarity detection.
 *
 * Takes two Submissions, applies an algorithm to them, returns results.
 */
public class SimilarityDetectionWorker<T extends Percentable> implements Callable<AlgorithmResults> {