List of usage examples for java.util.concurrent Callable interface-usage
From source file bad.robot.http.apache.ApacheHttpRequestExecutor.java
class ApacheHttpRequestExecutor implements Callable<HttpResponse> { private final org.apache.http.client.HttpClient client; private final HttpContext localContext; private final HttpUriRequest request;
From source file net.lariverosc.jesquespring.SpringWorkerFactory.java
/** * * @author Alejandro Riveros Cruz <lariverosc@gmail.com> */ public class SpringWorkerFactory implements Callable<WorkerImpl>, ApplicationContextAware {
From source file com.qubole.rubix.core.ReadRequestChain.java
/** * Created by stagra on 4/1/16. * * One ReadRequestChain contains ReadRequests for same buffer */ public abstract class ReadRequestChain implements Callable<Integer> {
From source file net.sheehantech.cherry.pool.PooledSendNotificationTask.java
public class PooledSendNotificationTask implements Callable<PushResult> { private Logger logger = LoggerFactory.getLogger(PooledSendNotificationTask.class); private GenericObjectPool<PooledPushSocket> pool; private Notification notification;
From source file net.sheehantech.cherry.pool.KeyedPooledSendNotificationTask.java
public class KeyedPooledSendNotificationTask<K> implements Callable<PushResult> { private Logger logger = LoggerFactory.getLogger(KeyedPooledSendNotificationTask.class); private KeyedObjectPool<K, PooledPushSocket> pool; private K k;
From source file com.inetpsa.seed.plugin.CmdMojoDelegate.java
public class CmdMojoDelegate implements Callable<String> { private final CommandLineParser commandLineParser = new PosixParser(); @Override @SuppressWarnings("unchecked") public String call() throws Exception {
From source file com.espertech.esper.multithread.StmtUpdateSendCallable.java
public class StmtUpdateSendCallable implements Callable { private static final Log log = LogFactory.getLog(StmtUpdateSendCallable.class); private final int threadNum; private final EPServiceProvider engine; private final int numRepeats;
From source file com.proquest.demo.allinone.AllInOneCallable.java
/** * Created by kvillaca on 7/25/16. * * @author kvillaca, zliu */ public class AllInOneCallable implements Callable<List<GenericDataReturn>> {
From source file com.skcraft.launcher.selfupdate.SelfUpdater.java
public class SelfUpdater implements Callable<File>, ProgressObservable { public static boolean updatedAlready = false; private final Launcher launcher; private final URL url;
From source file org.wso2.andes.task.TaskProcessor.java
/** * Process {@link Task} by going through each {@link TaskHolder} in the {@link TaskHolder} ring */ final class TaskProcessor implements Callable<Boolean> { /**