|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.compoze.trigger.AbstractTimeoutAlgorithm
|
+--com.compoze.trigger.NagleTimeoutAlgorithm
This class implements a Nagle timeout algorithm. Each successive wait between retries is multiplied by a value so that initial retries can occur relatively rapidly with respect to successive retries.
| Constructor Summary | |
NagleTimeoutAlgorithm()
Constructor. |
|
NagleTimeoutAlgorithm(long lInitialTimeout,
int iNagleFactor,
int iRetries)
Constructor. |
|
| Method Summary | |
long |
getNextTimeout(long lInitialTimeout,
int iRetries,
long lLastTimeout)
Get the next timeout to use. |
| Methods inherited from class com.compoze.trigger.AbstractTimeoutAlgorithm |
getNextTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NagleTimeoutAlgorithm()
TriggerProperties class.
public NagleTimeoutAlgorithm(long lInitialTimeout,
int iNagleFactor,
int iRetries)
lInitialTimeout - the initial timeout to useiNagleFactor - the Nagle factoriRetries - the maximum number of retries| Method Detail |
public long getNextTimeout(long lInitialTimeout,
int iRetries,
long lLastTimeout)
getNextTimeout in class AbstractTimeoutAlgorithmlInitialTimeout - the initial timeout that was used (-1 for no initial)iRetryNumber - the current retry numberlLastTimeout - the last timeout that was used
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||