Class PulsarProperties.Failover
java.lang.Object
org.springframework.boot.pulsar.autoconfigure.PulsarProperties.Failover
- Enclosing class:
PulsarProperties
- Since:
- 4.0.0
- Author:
- Chris Bono, Phillip Webb, Swamy Mavuri, Vedran Pavic
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()voidsetBackupClusters(List<PulsarProperties.Failover.BackupCluster> backupClusters) voidsetCheckInterval(@Nullable Duration checkInterval) voidvoidvoidsetSwitchBackDelay(@Nullable Duration switchBackDelay)
-
Constructor Details
-
Failover
public Failover()
-
-
Method Details
-
getPolicy
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public AutoClusterFailoverBuilder.FailoverPolicy getPolicy() -
setPolicy
-
getDelay
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable Duration getDelay() -
setDelay
-
getSwitchBackDelay
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable Duration getSwitchBackDelay() -
setSwitchBackDelay
-
getCheckInterval
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable Duration getCheckInterval() -
setCheckInterval
-
getBackupClusters
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public List<PulsarProperties.Failover.BackupCluster> getBackupClusters() -
setBackupClusters
-