FileDocCategorySizeDatePackage
Future.javaAPI DocJBoss 4.2.12122Fri Jul 13 21:02:26 BST 2007org.jboss.aspects.asynch

Future

public interface Future
Comment
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectget()
get result, throws Exception of method or InterruptedException

public java.lang.Objectget(long milliseconds)
get result, throws Exception of method or InterruptedException

public booleanisDone()
is the method call done?

public voidrelease()
Release this future so that it can be garbaged collected remotely This is only useful for remote asynchronous. This is import to call especially for remote otherwise the remote future on the server will never get garbaged collected. AsynchProvider will call release if it is holding a Future already within its threadlocal when a new one is set on it.