1 22 package org.jboss.aspects.asynch; 23 24 import java.lang.reflect.InvocationTargetException ; 25 26 32 public interface Future 33 { 34 37 public Object get() throws InterruptedException , InvocationTargetException ; 38 39 42 public Object get(long milliseconds) throws TimeoutException, InterruptedException , InvocationTargetException ; 43 44 47 public boolean isDone(); 48 49 57 public void release(); 58 } 59 | Popular Tags |