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

    • getPolicy

      public org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy getPolicy()
    • setPolicy

      public void setPolicy(org.apache.pulsar.client.api.AutoClusterFailoverBuilder.FailoverPolicy policy)
    • getDelay

      public Duration getDelay()
    • setDelay

      public void setDelay(Duration delay)
    • 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)