Class PulsarProperties.Failover
java.lang.Object
org.springframework.boot.autoconfigure.pulsar.PulsarProperties.Failover
- Enclosing class:
- PulsarProperties
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy
void
setBackupClusters
(List<PulsarProperties.Failover.BackupCluster> backupClusters) void
setCheckInterval
(Duration checkInterval) void
setFailoverDelay
(Duration failoverDelay) void
setFailoverPolicy
(org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy failoverPolicy) void
setSwitchBackDelay
(Duration switchBackDelay)
-
Constructor Details
-
Failover
public Failover()
-
-
Method Details
-
getFailoverPolicy
public org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy getFailoverPolicy() -
setFailoverPolicy
public void setFailoverPolicy(org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy failoverPolicy) -
getFailoverDelay
-
setFailoverDelay
-
getSwitchBackDelay
-
setSwitchBackDelay
-
getCheckInterval
-
setCheckInterval
-
getBackupClusters
-
setBackupClusters
-