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.easarrive.image.thumbor.bean.RquestThumborServerCallable.java

/**
 * <h1> - Thumbor?</h1>
 *
 * @author <a href="http://www.lizhaoweb.cn">??(John.Lee)</a>
 * @notes Created on 20160723<br>
 * Revision of last commit:$Revision$<br>

From source file com.espertech.esper.multithread.SendEventCallable.java

public class SendEventCallable implements Callable {
    private final int threadNum;
    private final EPServiceProvider engine;
    private final Iterator<Object> events;

    public SendEventCallable(int threadNum, EPServiceProvider engine, Iterator<Object> events) {

From source file at.alladin.rmbt.util.tools.TracerouteService.java

public interface TracerouteService extends Callable<List<HopDetail>> {

    public static final class PingException extends IOException {

        /**
         * 

From source file Lazy.java

/**
 * Utility class that provides a lazy initialization object wrapper.
 * <p/>
 * To use this wrapper simply implement {@link java.util.concurrent.Callable#call()} and return the appropriate value.
 * Exceptions are propagated by {@link #get()} as {@link com.tomergabel.util.LazyInitializationException}s.
 * <p/>

From source file com.easarrive.quartz.aws.service.impl.ThumborSeparateCallable.java

/**
 * @author <a href="http://www.lizhaoweb.cn">??(John.Lee)</a>
 * @version 1.0.0.0.1
 * @notes Created on 20160806<br>
 * Revision of last commit:$Revision$<br>
 * Author of last commit:$Author$<br>

From source file com.newlandframework.rpc.netty.MessageRecvInitializeTask.java

/**
 * @author tangjie<https://github.com/tang-jie>
 * @filename:MessageRecvInitializeTask.java
 * @description:MessageRecvInitializeTask?
 * @blogs http://www.cnblogs.com/jietang/
 * @since 2016/10/7

From source file org.cesken.talks.memory.Worker.java

/**
 * 
 * @author cesken
 *
 */
public class Worker implements Callable<String> {

From source file com.espertech.esper.multithread.StmtSharedViewCallable.java

public class StmtSharedViewCallable implements Callable {
    private final int numRepeats;
    private final EPServiceProvider engine;
    private final String[] symbols;

    public StmtSharedViewCallable(int numRepeats, EPServiceProvider engine, String[] symbols) {

From source file com.mirth.connect.server.util.javascript.JavaScriptTask.java

public abstract class JavaScriptTask<T> implements Callable<T> {

    private Logger logger = Logger.getLogger(JavaScriptTask.class);
    private MirthContextFactory contextFactory;
    private String threadName;
    private Context context;

From source file ar.com.zauber.commons.message.impl.mail.AsyncNotificationStrategyRunnable.java

/**
 * Sends messages via a delegate 
 * 
 * @author Christian Nardi
 * @since Apr 6, 2011
 */