com.ibm.btt.invoker.timer
Class InvokerTimerTask
java.lang.Object
java.util.TimerTask
com.ibm.btt.invoker.timer.InvokerTimerTask
- All Implemented Interfaces:
- java.lang.Runnable
public class InvokerTimerTask
- extends java.util.TimerTask
Invoker Timer Task is used to represent the asynchronized invocation tasks
Constructor Summary |
InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params)
|
InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params,
long timeout)
|
InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params,
long timeout,
CallBackPoint cb)
|
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bean
protected java.lang.Object bean
method
protected java.lang.reflect.Method method
params
protected java.lang.Object[] params
timeout
protected long timeout
result
protected java.lang.Object result
start
protected long start
completed
protected boolean completed
exception
protected java.lang.Exception exception
log
protected BTTLog log
InvokerTimerTask
public InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params)
InvokerTimerTask
public InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params,
long timeout)
InvokerTimerTask
public InvokerTimerTask(java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.Object[] params,
long timeout,
CallBackPoint cb)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class java.util.TimerTask
getResult
public java.lang.Object getResult()
isExpired
public boolean isExpired()
isComplete
public boolean isComplete()
getException
public java.lang.Exception getException()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
(c) Copyright IBM Corporation 1998, 2009