Package org.dexcare.dal.errorHandling.retries

Types

BaseRetry
Link copied to clipboard
abstract class BaseRetry : Function<Flowable<Throwable>, Flowable<*>>
This provides an interface to implement a retrywhen for flowables
GeneralRetry
Link copied to clipboard
class GeneralRetry(maxRetries: Int, retryDelayMS: Long) : BaseRetry
This is a generic retry that can be used to retry on any errors, with a configurable max number of retries and delay between each retry.
HttpRetry
Link copied to clipboard
abstract class HttpRetry(maxRetries: Int, retryDelayMS: Long) : BaseRetry
This is an implementation to catch network exceptions for retrywhen