org.jboss.aspects.asynchronous.concurrent
Class TimedCallableImpl
java.lang.Object
org.jboss.aspects.asynchronous.concurrent.TimedCallableImpl
- All Implemented Interfaces:
- java.util.concurrent.Callable, ProcessingTime
public class TimedCallableImpl
- extends Object
- implements java.util.concurrent.Callable, ProcessingTime
- Version:
- $Revision: 63393 $
- Author:
- {Claude Hussenet Independent Consultant}.
Constructor Summary |
TimedCallableImpl(org.jboss.aspects.asynchronous.concurrent.AdapterTask function,
long millis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimedCallableImpl
public TimedCallableImpl(org.jboss.aspects.asynchronous.concurrent.AdapterTask function,
long millis)
call
public Object call()
throws Exception
- Specified by:
call
in interface java.util.concurrent.Callable
- Throws:
Exception
getEndingTime
public long getEndingTime()
- Specified by:
getEndingTime
in interface ProcessingTime
getStartingTime
public long getStartingTime()
- Specified by:
getStartingTime
in interface ProcessingTime
Copyright © 2004 JBoss Inc. All Rights Reserved.