cfboom.util

Class RetryUtils

lucee.Component
    extended by cfboom.util.RetryUtils

Miscellaneous retry utility methods.

Class Attributes:
  • singleton : true
  •  
  • output : false
  •  
  • displayname : Class RetryUtils
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • auther : Joel Tobey
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
    Method Summary
    struct getRetry(numeric num)
         Return the underlying retry logic for a specific retry.
    cfboom.util.datetime nextRetryFromBeginning(date beginningDate, [numeric previousAttempts='1'])
         Uses the timestamp of the first attempt to evaluate the next time to retry.
    cfboom.util.datetime nextRetryFromPrevious(date previousDate, [numeric previousAttempts='1'])
         Uses the timestamp of the previous attempt to evaluate the next time to retry.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    getRetry

    public struct getRetry(numeric num)

    Return the underlying retry logic for a specific retry.

    Parameters:
    num

    nextRetryFromBeginning

    public cfboom.util.datetime nextRetryFromBeginning(date beginningDate, [numeric previousAttempts='1'])

    Uses the timestamp of the first attempt to evaluate the next time to retry.

    Parameters:
    beginningDate
    previousAttempts - The number of times this process has been attempted (from 1 to 32).
    Returns:
    the next time to retry.

    nextRetryFromPrevious

    public cfboom.util.datetime nextRetryFromPrevious(date previousDate, [numeric previousAttempts='1'])

    Uses the timestamp of the previous attempt to evaluate the next time to retry.

    Parameters:
    previousDate
    previousAttempts - The number of times this process has been attempted (from 1 to 32).
    Returns:
    the next time to retry.