Class KubernetesLeaderElectionConfiguration
- java.lang.Object
-
- org.apache.flink.kubernetes.configuration.KubernetesLeaderElectionConfiguration
-
public class KubernetesLeaderElectionConfiguration extends Object
Configuration specific toKubernetesLeaderElector.
-
-
Constructor Summary
Constructors Constructor Description KubernetesLeaderElectionConfiguration(String configMapName, String lockIdentity, org.apache.flink.configuration.Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClusterId()StringgetConfigMapName()java.time.DurationgetLeaseDuration()StringgetLockIdentity()java.time.DurationgetRenewDeadline()java.time.DurationgetRetryPeriod()
-
-
-
Method Detail
-
getClusterId
public String getClusterId()
-
getConfigMapName
public String getConfigMapName()
-
getLockIdentity
public String getLockIdentity()
-
getLeaseDuration
public java.time.Duration getLeaseDuration()
-
getRenewDeadline
public java.time.Duration getRenewDeadline()
-
getRetryPeriod
public java.time.Duration getRetryPeriod()
-
-