All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jeramtough.jtcomponent.task.response.FutureTaskResponse Maven / Gradle / Ivy

The newest version!
package com.jeramtough.jtcomponent.task.response;

import com.jeramtough.jtcomponent.callback.CommonCallback;
import com.jeramtough.jtcomponent.task.bean.TaskResult;

import java.util.concurrent.RunnableFuture;

/**
 * Created on 2019-01-25 02:08
 * by @author JeramTough
 */
public interface FutureTaskResponse extends RunnableFuture {

    /**
     * Current thread will be blocked until the task would be completed
     *
     * @return TaskResult Bean
     */
    TaskResult waitingTaskResult();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy