com.jeramtough.jtcomponent.task.response.FutureTaskResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtcomponent Show documentation
Show all versions of jtcomponent Show documentation
It sealing some common component...
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();
}