Class PulsarProperties.Failover

java.lang.Object
org.springframework.boot.autoconfigure.pulsar.PulsarProperties.Failover
Enclosing class:
PulsarProperties

public static class PulsarProperties.Failover extends Object
  • 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

      public Duration getFailoverDelay()
    • setFailoverDelay

      public void setFailoverDelay(Duration failoverDelay)
    • getSwitchBackDelay

      public Duration getSwitchBackDelay()
    • setSwitchBackDelay

      public void setSwitchBackDelay(Duration switchBackDelay)
    • getCheckInterval

      public Duration getCheckInterval()
    • setCheckInterval

      public void setCheckInterval(Duration checkInterval)
    • getBackupClusters

      public List<PulsarProperties.Failover.BackupCluster> getBackupClusters()
    • setBackupClusters

      public void setBackupClusters(List<PulsarProperties.Failover.BackupCluster> backupClusters)