|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.sandev.basics.DataManager.InitRetryThread
A thread to retry Persister initialization for a specified number of
tries at a specified interval. The sandNodeState is set to
Controllable.STATE_FAILING while the thread is executing. At
conclusion the sandNodeState is either FAILED or RUNNING.
Note that we first wait, since we are called to run after having
just failed.
| Field Summary | |
protected int |
attempts
|
protected DataManagerNode |
dm
|
protected int |
seconds
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
InitRetryThread(int seconds,
int attempts,
DataManagerNode dm)
|
|
| Method Summary | |
void |
run()
|
| 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 |
protected int seconds
protected int attempts
protected DataManagerNode dm
| Constructor Detail |
public InitRetryThread(int seconds,
int attempts,
DataManagerNode dm)
| Method Detail |
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||