org.jboss.aspects.asynchronous.concurrent
Class AsynchronousTaskImpl

java.lang.Object
  extended by org.jboss.aspects.asynchronous.concurrent.AsynchronousTaskImpl
All Implemented Interfaces:
AsynchronousConstants, AsynchronousTask

public final class AsynchronousTaskImpl
extends Object
implements AsynchronousConstants, AsynchronousTask

Version:
$Revision: 1.3.4.3 $
Author:
{Claude Hussenet Independent Consultant}.

Field Summary
 
Fields inherited from interface org.jboss.aspects.asynchronous.AsynchronousConstants
CAN_NOT_PROCESS, EXCEPTIONCAUGHT, INTERRUPTED, INVOCATION, NOVALUE, OK, TIMEOUT, UNKNOWN
 
Method Summary
 Runnable add()
           
 long getEndingTime()
           
 String getId()
           
 AsynchronousParameters getInputParameters()
           
 ThreadManagerResponse getResponse()
           
 long getStartingTime()
           
 AsynchronousUserTask getTask()
           
 long getTimeout()
           
 boolean isDone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInputParameters

public AsynchronousParameters getInputParameters()

getTimeout

public long getTimeout()

getTask

public AsynchronousUserTask getTask()

getResponse

public ThreadManagerResponse getResponse()
Specified by:
getResponse in interface AsynchronousTask

getStartingTime

public long getStartingTime()

getEndingTime

public long getEndingTime()

isDone

public boolean isDone()
Specified by:
isDone in interface AsynchronousTask

add

public Runnable add()
             throws Exception
Throws:
Exception

getId

public String getId()
Specified by:
getId in interface AsynchronousTask


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.