Interface LeaderElectionConfiguration
- All Known Implementing Classes:
LeaderElectionConfigurationProperties
public interface LeaderElectionConfiguration
The
LeaderElectionConfig configuration.- Since:
- 3.3
- Author:
- Pavol Gressa
-
Method Details
-
getLeaseDuration
@NonNull Duration getLeaseDuration()The lock lease duration. SeeLeaderElector.- Returns:
- lease duration
-
getRenewDeadline
@NonNull Duration getRenewDeadline()The lock renew deadline. If theLeaderElectorfails to renew the lock within the deadline then the controller looses the lock.- Returns:
- renew deadline
-
getRetryPeriod
@NonNull Duration getRetryPeriod()The lock acquire retry period. SeeLeaderElector.- Returns:
- lock acquire retry period.
-
getResourceName
-
getResourceNamespace
-