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.helmholtz_muenchen.ibis.utils.threads.ExecuteThread.java

public class ExecuteThread implements Callable<Boolean> {
    public static final int NUM_LINES_STDOUT_STDERR = 100;

    private final String[] command; // Command to execute
    private Process p; // Process for execution
    private final String stdOutFile; // Process stdOut Filepath

From source file com.asakusafw.dmdl.thundergate.GenerateTask.java

/**
 * 
 * @since 0.2.0
 * @version 0.6.1
 */
public class GenerateTask implements Callable<ModelRepository> {

From source file org.rhq.core.pc.inventory.DeleteResourceRunner.java

/**
* Runnable implementation to thread delete resource requests.
*
* @author Jason Dobies
*/
public class DeleteResourceRunner implements Callable, Runnable {

From source file com.lenis0012.bukkit.marriage2.misc.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.wso2telco.MePinStatusRequest.java

/**
 * The Class MePinStatusRequest.
 */
public class MePinStatusRequest implements Callable<String> {

    /**

From source file pl.nask.hsn2.service.scdbg.TimedScdbgProcess.java

class TimedScdbgProcess implements Callable<Integer> {

    private byte[] bytes;
    private PrintWriter writer;
    private String[] commandLine;
    private File localTmp;

From source file org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.java

public class PartitionValidatorCallable implements Callable<IaasProvider> {

    private static final Log log = LogFactory.getLog(PartitionValidatorCallable.class);
    private Partition partition;
    private Cartridge cartridge;

From source file org.clustermc.lib.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 net.serubin.utilities.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/users/profiles/minecraft/";
    private final JSONParser jsonParser = new JSONParser();
    private final List<String> names;
    private final boolean rateLimiting;

From source file io.github.yannici.bedwars.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;