|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--springs.util.retries.RetryingTask | +--springs.access.RetryingAgentInvoking
Field Summary | |
private java.lang.String |
_agentName
|
private springs.access.AgentReference |
_aref
|
private java.lang.Object[] |
_args
|
private boolean |
_cacheRef
|
private java.lang.String |
_caller
|
private int |
_lastSequenceNumberTried
|
private java.util.Vector |
_logs
|
private java.lang.String |
_methodName
|
private java.lang.Object |
_result
|
Fields inherited from class springs.util.retries.RetryingTask |
_millisAfterSleep, _millisBetweenIterations, _millisLastTry, _millisLate, _millisNextTry, _millisTillNextTry, maxDelay, minDelay, numRetries, totalDelay |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
RetryingAgentInvoking(java.lang.String agentName,
boolean cacheRef,
java.lang.String methodName,
java.lang.Object[] args,
java.lang.String caller)
Constructor. |
|
RetryingAgentInvoking(java.lang.String methodName,
java.lang.Object[] args,
java.lang.String caller,
springs.access.AgentReference aref)
Constructor. |
Method Summary | |
private springs.access.ResultCallWithStatistics |
buildResultCallWithStatistics(java.lang.Object result)
Builds a result with statistics. |
java.lang.String |
getAgentName()
Gets the agent name. |
java.lang.String |
getMethodName()
Gets the method name. |
private java.lang.String |
getStringDebug()
Gets a string for debugging purposes. |
void |
task()
Main task. |
Methods inherited from class springs.util.retries.RetryingTask |
getException, getResult, getSuccess, mainMethod, run, setResult, waitCompletion |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String _methodName
private java.lang.Object[] _args
private java.lang.Object _result
private java.lang.String _agentName
private java.lang.String _caller
private boolean _cacheRef
private springs.access.AgentReference _aref
private int _lastSequenceNumberTried
private java.util.Vector _logs
Constructor Detail |
public RetryingAgentInvoking(java.lang.String agentName, boolean cacheRef, java.lang.String methodName, java.lang.Object[] args, java.lang.String caller)
public RetryingAgentInvoking(java.lang.String methodName, java.lang.Object[] args, java.lang.String caller, springs.access.AgentReference aref)
Method Detail |
public java.lang.String getMethodName()
String
public java.lang.String getAgentName()
String
private java.lang.String getStringDebug()
String
private springs.access.ResultCallWithStatistics buildResultCallWithStatistics(java.lang.Object result)
result
- the result.
ResultCallWithStatistics
,
Object
public void task() throws java.lang.Exception
task
in class RetryingTask
java.lang.Exception
- if error.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |