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.pentaho.reporting.platform.plugin.async.WriteToJcrTask.java

public class WriteToJcrTask implements Callable<Serializable> {
    private static final String CANT_CREATE_FILE_IN_JCR = "Can't create file in JCR";
    private static Log log = LogFactory.getLog(WriteToJcrTask.class);

    private static final String FORMAT = "%s(%d)%s";
    private static final String TXT = ".txt";

From source file org.pepstock.jem.junit.init.submitters.AbstractSubmitter.java

/**
 * @author Andrea "Stock" Stocchero
 * @version 2.2
 */
public abstract class AbstractSubmitter implements Callable<SubmitResult> {

From source file org.structnetalign.merge.BronKerboschMergeJob.java

/**
 * A job that takes as input a graph (or subgraph) and returns a list of degenerate vertex sets.
 * @author dmyersturnbull
 */
public class BronKerboschMergeJob implements Callable<List<NavigableSet<Integer>>> {

From source file org.dishevelled.bio.tools.AbstractSplit.java

/**
 * Abstract split callable.
 *
 * @author  Michael Heuer
 */
abstract class AbstractSplit implements Callable<Integer> {

From source file vg.civcraft.mc.cbanman.utils.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;
    private final boolean rateLimiting;

From source file com.cnaude.mutemanager.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 com.revo.deployr.client.call.project.ProjectDirectoryUploadCall.java

/**
 * Provides support for DeployR API call: /r/project/directory/upload.
 * <p/>
 * Simply construct an instance of this call and pass it on the
 * execute() method of your {@link com.revo.deployr.client.RClient}.
 */

From source file io.github.bedwarsrel.utils.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.eclipse.osee.jdbc.internal.PooledDataSourceFetcher.java

/**
 * @author Roberto E. Escobar
 */
public class PooledDataSourceFetcher implements Callable<DataSource> {

    private final JdbcConnectionFactoryManager manager;

From source file io.github.bedwarsrel.BedwarsRel.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;
    private final boolean rateLimiting;