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.revo.deployr.client.call.project.ProjectImportCall.java

/**
 * Provides support for DeployR API call: /r/project/import.
 * <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 com.kodyhusky.kodymc.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.github.games647.minecraft.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.plugish.woominecraft.Util.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.anrisoftware.sscontrol.scripts.localuser.LocalUserAdd.java

/**
 * Adds the local user.
 *
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file com.subgraph.vega.internal.http.requests.RequestTask.java

class RequestTask implements Callable<IHttpResponse> {
    private final static Logger logger = Logger.getLogger("request-engine");

    private final HttpClient client;
    private final RateLimiter rateLimit;
    private final HttpUriRequest request;

From source file net.kaikk.mc.uuidprovider.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 xyz.jadonfowler.phasebot.util.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";

From source file xyz.jadonfowler.minekraft.mojang.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";

From source file com.revo.deployr.client.call.project.ProjectWorkspaceUploadCall.java

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