-
- All Implemented Interfaces:
public class RedisHeimdallOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRedisHeimdallOptions.Companion
-
Field Summary
Fields Modifier and Type Field Description private Booleanreconnectprivate LongreconnectIntervalprivate IntegermaxReconnectAttemptsprivate BooleanreconnectingNotificationsprivate StringreconnectingStartNotificationAddressprivate StringreconnectingSucceededNotificationAddressprivate StringreconnectingFailedNotificationAddressprivate RedisOptionsredisOptions
-
Constructor Summary
Constructors Constructor Description RedisHeimdallOptions(RedisOptions redisOptions)RedisHeimdallOptions(RedisHeimdallOptions other)RedisHeimdallOptions()
-
Method Summary
Modifier and Type Method Description final BooleangetReconnect()Basic flag if this client should reconnect or not. final UnitsetReconnect(Boolean reconnect)Basic flag if this client should reconnect or not. final LonggetReconnectInterval()Interval used to try to reconnect to Redis service. final UnitsetReconnectInterval(Long reconnectInterval)Interval used to try to reconnect to Redis service. final IntegergetMaxReconnectAttempts()Max number of attempts to reconnect they should be done before skip. final UnitsetMaxReconnectAttempts(Integer maxReconnectAttempts)Max number of attempts to reconnect they should be done before skip. final BooleangetReconnectingNotifications()If true, the client will send (not publish) a notification over the event bus on reconnecting for its state and appearance. final UnitsetReconnectingNotifications(Boolean reconnectingNotifications)If true, the client will send (not publish) a notification over the event bus on reconnecting for its state and appearance. final StringgetReconnectingStartNotificationAddress()The event body will contain the stacktrace of the underlying exception. final UnitsetReconnectingStartNotificationAddress(String reconnectingStartNotificationAddress)The event body will contain the stacktrace of the underlying exception. final StringgetReconnectingSucceededNotificationAddress()The event body will be null. final UnitsetReconnectingSucceededNotificationAddress(String reconnectingSucceededNotificationAddress)The event body will be null. final StringgetReconnectingFailedNotificationAddress()The event body will contain the stacktrace of the underlying exception. final UnitsetReconnectingFailedNotificationAddress(String reconnectingFailedNotificationAddress)The event body will contain the stacktrace of the underlying exception. final RedisOptionsgetRedisOptions()final UnitsetRedisOptions(RedisOptions redisOptions)final RedisHeimdallOptionssetReconnect(Boolean reconnect)final RedisHeimdallOptionssetReconnectInterval(Long reconnectInterval)final RedisHeimdallOptionssetMaxReconnectAttempts(Integer maxReconnectAttempts)final RedisHeimdallOptionssetReconnectingNotifications(Boolean reconnectingNotifications)final RedisHeimdallOptionssetReconnectingStartNotificationAddress(String reconnectingStartNotificationAddress)final RedisHeimdallOptionssetReconnectingSucceededNotificationAddress(String reconnectingSucceededNotificationAddress)final RedisHeimdallOptionssetReconnectingFailedNotificationAddress(String reconnectingFailedNotificationAddress)final RedisHeimdallOptionssetRedisOptions(RedisOptions redisOptions)final StringendpointsToString()-
-
Constructor Detail
-
RedisHeimdallOptions
RedisHeimdallOptions(RedisOptions redisOptions)
-
RedisHeimdallOptions
RedisHeimdallOptions(RedisHeimdallOptions other)
-
RedisHeimdallOptions
RedisHeimdallOptions()
-
-
Method Detail
-
getReconnect
final Boolean getReconnect()
Basic flag if this client should reconnect or not. If this flag is false, in fact this client extension will be disabled.
-
setReconnect
final Unit setReconnect(Boolean reconnect)
Basic flag if this client should reconnect or not. If this flag is false, in fact this client extension will be disabled.
-
getReconnectInterval
final Long getReconnectInterval()
Interval used to try to reconnect to Redis service.
-
setReconnectInterval
final Unit setReconnectInterval(Long reconnectInterval)
Interval used to try to reconnect to Redis service.
-
getMaxReconnectAttempts
final Integer getMaxReconnectAttempts()
Max number of attempts to reconnect they should be done before skip.
-
setMaxReconnectAttempts
final Unit setMaxReconnectAttempts(Integer maxReconnectAttempts)
Max number of attempts to reconnect they should be done before skip.
-
getReconnectingNotifications
final Boolean getReconnectingNotifications()
If true, the client will send (not publish) a notification over the event bus on reconnecting for its state and appearance.
-
setReconnectingNotifications
final Unit setReconnectingNotifications(Boolean reconnectingNotifications)
If true, the client will send (not publish) a notification over the event bus on reconnecting for its state and appearance.
-
getReconnectingStartNotificationAddress
final String getReconnectingStartNotificationAddress()
The event body will contain the stacktrace of the underlying exception.
-
setReconnectingStartNotificationAddress
final Unit setReconnectingStartNotificationAddress(String reconnectingStartNotificationAddress)
The event body will contain the stacktrace of the underlying exception.
-
getReconnectingSucceededNotificationAddress
final String getReconnectingSucceededNotificationAddress()
The event body will be null.
-
setReconnectingSucceededNotificationAddress
final Unit setReconnectingSucceededNotificationAddress(String reconnectingSucceededNotificationAddress)
The event body will be null.
-
getReconnectingFailedNotificationAddress
final String getReconnectingFailedNotificationAddress()
The event body will contain the stacktrace of the underlying exception.
-
setReconnectingFailedNotificationAddress
final Unit setReconnectingFailedNotificationAddress(String reconnectingFailedNotificationAddress)
The event body will contain the stacktrace of the underlying exception.
-
getRedisOptions
final RedisOptions getRedisOptions()
-
setRedisOptions
final Unit setRedisOptions(RedisOptions redisOptions)
-
setReconnect
final RedisHeimdallOptions setReconnect(Boolean reconnect)
-
setReconnectInterval
final RedisHeimdallOptions setReconnectInterval(Long reconnectInterval)
-
setMaxReconnectAttempts
final RedisHeimdallOptions setMaxReconnectAttempts(Integer maxReconnectAttempts)
-
setReconnectingNotifications
final RedisHeimdallOptions setReconnectingNotifications(Boolean reconnectingNotifications)
-
setReconnectingStartNotificationAddress
final RedisHeimdallOptions setReconnectingStartNotificationAddress(String reconnectingStartNotificationAddress)
-
setReconnectingSucceededNotificationAddress
final RedisHeimdallOptions setReconnectingSucceededNotificationAddress(String reconnectingSucceededNotificationAddress)
-
setReconnectingFailedNotificationAddress
final RedisHeimdallOptions setReconnectingFailedNotificationAddress(String reconnectingFailedNotificationAddress)
-
setRedisOptions
final RedisHeimdallOptions setRedisOptions(RedisOptions redisOptions)
-
endpointsToString
final String endpointsToString()
-
-
-
-