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()DurationgetLeaseDuration()StringgetLockIdentity()DurationgetRenewDeadline()DurationgetRetryPeriod()
-
-
-
Method Detail
-
getClusterId
public String getClusterId()
-
getConfigMapName
public String getConfigMapName()
-
getLockIdentity
public String getLockIdentity()
-
getLeaseDuration
public Duration getLeaseDuration()
-
getRenewDeadline
public Duration getRenewDeadline()
-
getRetryPeriod
public Duration getRetryPeriod()
-
-