Interface LeaderElectionConfiguration
- All Superinterfaces:
io.micronaut.core.util.Toggleable
@Internal
@ConfigurationProperties("kubernetes.client.operator.leader-election.lock")
public interface LeaderElectionConfiguration
extends io.micronaut.core.util.Toggleable
The leader election configuration.
-
Field Summary
Fields -
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.Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_LEASE_DURATION
- See Also:
-
DEFAULT_RENEW_DEADLINE
- See Also:
-
DEFAULT_RETRY_PERIOD
- See Also:
-
-
Method Details
-
getLeaseDuration
-
getRenewDeadline
-
getRetryPeriod
-
getResourceName
-
getResourceNamespace
-