站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 aspects API Documentation 英文版文档

TimedCallableImpl (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档


org.jboss.aspects.asynchronous.concurrent
Class TimedCallableImpl

java.lang.Object
  extended byEDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
      extended byorg.jboss.aspects.asynchronous.concurrent.TimedCallableImpl
All Implemented Interfaces:
EDU.oswego.cs.dl.util.concurrent.Callable, ProcessingTime

public class TimedCallableImpl
extends EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
implements EDU.oswego.cs.dl.util.concurrent.Callable, ProcessingTime

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

Nested Class Summary
 
Nested classes inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser.DefaultThreadFactory
 
Field Summary
 
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
threadFactory_
 
Constructor Summary
TimedCallableImpl(org.jboss.aspects.asynchronous.concurrent.AdapterTask function, long millis)
           
 
Method Summary
 Object call()
           
 long getEndingTime()
           
 long getStartingTime()
           
 
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
getThreadFactory, setThreadFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedCallableImpl

public TimedCallableImpl(org.jboss.aspects.asynchronous.concurrent.AdapterTask function,
                         long millis)
Method Detail

call

public Object call()
            throws Exception
Specified by:
call in interface EDU.oswego.cs.dl.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 © 2002 JBoss Group, LLC. All Rights Reserved.