springs.context
Class RetryingAgentCreation

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--springs.util.retries.RetryingTask
              |
              +--springs.context.RetryingAgentCreation
All Implemented Interfaces:
java.lang.Runnable

class RetryingAgentCreation
extends RetryingTask


Field Summary
private  springs.agent.SpringsAgent _agent
           
private  springs.context.ContextManager _cm
           
private  boolean _isMoving
           
private  springs.context.ContextAddress _targetContextAddress
           
 
Fields inherited from class springs.util.retries.RetryingTask
_millisAfterSleep, _millisBetweenIterations, _millisLastTry, _millisLate, _millisNextTry, _millisTillNextTry, _result, maxDelay, minDelay, numRetries, totalDelay
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RetryingAgentCreation(springs.context.ContextManager cm, springs.agent.SpringsAgent agent, springs.context.ContextAddress ca, boolean isMoving)
           
 
Method Summary
 void task()
          Performs the 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

_targetContextAddress

private springs.context.ContextAddress _targetContextAddress

_agent

private springs.agent.SpringsAgent _agent

_cm

private springs.context.ContextManager _cm

_isMoving

private boolean _isMoving
Constructor Detail

RetryingAgentCreation

public RetryingAgentCreation(springs.context.ContextManager cm,
                             springs.agent.SpringsAgent agent,
                             springs.context.ContextAddress ca,
                             boolean isMoving)
Method Detail

task

public void task()
          throws CommunicationException
Description copied from class: RetryingTask
Performs the task. This method should be overriden by specific subclasses to perform the desired task.

Overrides:
task in class RetryingTask
CommunicationException
See Also:
Exception