retries vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
counted-retries retriesmax-retries
exponential-wait time-strategyexp nanos
immediate time-strategy
random-wait time-strategylo hi
retries tuplecount time-strategy errors
retries-failed tupleretries quot
sequence-retries retriesseq
time-strategy tuple


Generic words
WordStack effect
retries*( time-strategy seq/n -- obj )
retry-obj( retries -- elt/obj/index retry? )
retry-sleep-time( retries time-strategy -- nanos/timestamp/0 )


Symbol words
current-retries


Ordinary words
WordStack effect
<counted-retries>( time-strategy max-retries -- retries )
<exponential-wait>( exp nanos -- exponential-wait )
<immediate>( -- immediate )
<random-wait>( lo hi -- random-wait )
<sequence-retries>( time-strategy seq -- retries )
new-retries( class -- obj )
next-retry( retries -- elt/obj/index nanos/timestamp/0 ? )
nth*( n seq -- elt/f ? )
retries( quot time-strategy n/seq -- result )
retries-failed( retries quot -- * )
with-retries( retries quot -- result )


Class predicate words
WordStack effect
counted-retries?( object -- ? )
exponential-wait?( object -- ? )
immediate?( object -- ? )
random-wait?( object -- ? )
retries-failed?( object -- ? )
retries?( object -- ? )
sequence-retries?( object -- ? )
time-strategy?( object -- ? )


Files


Metadata files