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 TypeMethodDescriptiongetDelay()
org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy
void
setBackupClusters
(List<PulsarProperties.Failover.BackupCluster> backupClusters) void
setCheckInterval
(Duration checkInterval) void
void
setPolicy
(org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy policy) void
setSwitchBackDelay
(Duration switchBackDelay)
-
Constructor Details
-
Failover
public Failover()
-
-
Method Details
-
getPolicy
public org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy getPolicy() -
setPolicy
public void setPolicy(org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy policy) -
getDelay
-
setDelay
-
getSwitchBackDelay
-
setSwitchBackDelay
-
getCheckInterval
-
setCheckInterval
-
getBackupClusters
-
setBackupClusters
-