spring-framework / org.springframework.messaging.tcp / FixedIntervalReconnectStrategy

FixedIntervalReconnectStrategy

open class FixedIntervalReconnectStrategy : ReconnectStrategy

A simple strategy for making reconnect attempts at a fixed interval.

Author
Rossen Stoyanchev

Since
4.0

Constructors

<init>

FixedIntervalReconnectStrategy(interval: Long)

Functions

getTimeToNextAttempt

open fun getTimeToNextAttempt(attemptCount: Int): Long