Interface LeaderElectionConfiguration
- All Known Implementing Classes:
LeaderElectionConfigurationProperties
public interface LeaderElectionConfiguration
The
LeaderElectionConfig configuration.- Since:
- 3.3
- Author:
- Pavol Gressa
-
Method Summary
Modifier and TypeMethodDescriptionThe lock lease duration.The lock renew deadline.The lock resource name.The lock resource namespace.The lock acquire retry period.
-
Method Details
-
getLeaseDuration
-
getRenewDeadline
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
Duration getRetryPeriod()The lock acquire retry period. SeeLeaderElector.- Returns:
- lock acquire retry period.
-
getResourceName
-
getResourceNamespace
-