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 io.github.dkrolls.XPOverhaul.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.anrisoftware.mongoose.parser.ScriptParser.java

/**
 * Parse and run the script. Sets the environment of the script.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file org.v2020.service.ie.ObjectImportThread.java

/**
 * @author Daniel Murygin <dm[at]sernet[dot]de>
 */
public class ObjectImportThread implements Callable<ObjectImportContext> {

    private static final Logger LOG = LoggerFactory.getLogger(ObjectImportThread.class);

From source file nl.b3p.imagetool.ImageCollector.java

/**
 * ImageCollector definition:
 */
public class ImageCollector implements Callable<ImageCollector> {

    private static final Log log = LogFactory.getLog(ImageCollector.class);

From source file net.wesjd.overcastmappacker.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 io.ecarf.core.cloud.task.processor.dictionary.AssembleDictionarySubTask.java

/**
 * The underlying sub task that is assembling the dictionary
 * @author Omer Dawelbeit (omerio)
 *
 */
public class AssembleDictionarySubTask implements Callable<Void> {

From source file org.pepstock.jem.node.system.GetJobSystemActivity.java

/**
 * Extracts cpu and memory usage of job in execution.<br>
 * 
 * @author Andrea "Stock" Stocchero
 * 
 */

From source file com.simpsonwil.strongquests.util.UUIDFetcher.java

/**
 * Created by Wil on 2/19/2015.
 */
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 microsoft.exchange.webservices.data.misc.CallableMethod.java

public class CallableMethod implements Callable<Object> {

    private static final Log LOG = LogFactory.getLog(CallableMethod.class);

    HttpWebRequest request;

From source file io.rhiot.spec.Driver.java

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonSubTypes({ @JsonSubTypes.Type(value = MQTTTelemetryDevice.class, name = "mqtt-telemetry-device"),
        @JsonSubTypes.Type(value = MQTTConsumingService.class, name = "mqtt-consuming-service"),
        @JsonSubTypes.Type(value = AMQPTelemetryDevice.class, name = "amqp-telemetry-device"),
        @JsonSubTypes.Type(value = AMQPConsumingService.class, name = "amqp-consuming-service") })
/**