
com.nealk.concurrent.task.Task Maven / Gradle / Ivy
package com.nealk.concurrent.task;
import com.nealk.concurrent.ThreadSafe;
public interface Task extends Runnable{
/**
* Returns the thread-safe value of Type <?>
*
* @param
* @return - value of obj - with type <?>
* @exception InterruptedException
* @author nealk
*/
@ThreadSafe
public abstract T getVal() throws InterruptedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy