Java org.springframework.util.backoff FixedBackOff fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util.backoff FixedBackOff fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util.backoff FixedBackOff.

The text is from its open source code.

Field

longUNLIMITED_ATTEMPTS
Constant value indicating an unlimited number of attempts.

Constructor

FixedBackOff()
Create an instance with an interval of #DEFAULT_INTERVAL ms and an unlimited number of attempts.
FixedBackOff(long interval, long maxAttempts)
Create an instance.

Method

voidsetInterval(long interval)
Set the interval between two attempts in milliseconds.
BackOffExecutionstart()