List of usage examples for java.util.concurrent Callable interface-usage
From source file me.gamingtest.de.Util.NameFetcher.java
public class NameFetcher implements Callable<Map<UUID, String>> { private static final String PROFILE_URL = "https://sessionserver.mojang.com/session/minecraft/profile/"; private final JSONParser jsonParser = new JSONParser(); private final List<UUID> uuids; public NameFetcher(List<UUID> uuids) {
From source file com.naver.template.social.TwitterFriendsCallable.java
/** * @author swseo */ public class TwitterFriendsCallable implements Callable<List<TwitterProfile>> { private Logger log = LoggerFactory.getLogger(TwitterFriendsCallable.class);
From source file com.dsclab.loader.loader.ConsumerThread.java
/** * * @author user */ public class ConsumerThread implements Callable<String> { private static final Log LOG = LogFactory.getLog(ConsumerThread.class);
From source file org.royaldev.royalcommands.tools.NameFetcher.java
public class NameFetcher implements Callable<Map<UUID, String>> { private static final String PROFILE_URL = "https://sessionserver.mojang.com/session/minecraft/profile/"; private final JSONParser jsonParser = new JSONParser(); private final List<UUID> uuids;
From source file com.mycompany.crawlertest.GrabPage.java
/** * * @author root */ public class GrabPage implements Callable<GrabPage> {
From source file nl.systemsgenetics.eqtlinteractionanalyser.eqtlinteractionanalyser.PerformInteractionAnalysisPermutationTask.java
/** * * @author lude */ public class PerformInteractionAnalysisPermutationTask implements Callable<DoubleArrayIntegerObject> {
From source file com.dsclab.loader.loader.ProducerThread.java
/** * * @author user */ public class ProducerThread implements Callable<String> { private static final Log LOG = LogFactory.getLog(ProducerThread.class);
From source file com.yahoo.xpathproto.ConfigLoader.java
/** * This class is used to load the config from a file the first time and then uses caching for subsequent calls to load * the same config. Works with absolute file paths and resources within the project as well. */ public class ConfigLoader implements Callable<Config> {
From source file MyResult.java
class SleepingTask implements Callable<MyResult> { private int taskId; private int loopCounter; public SleepingTask(int taskId, int loopCounter) { this.taskId = taskId;
From source file fr.inria.edelweiss.kgdqp.core.CallableGetBasicGraphPattern.java
/**
* Helper class to handle the retrieveing of results when getMappings() are
* parallelized.
*
* @author Abdoul Macina, macina@i3s.unice.fr
*/