public class KubernetesLeaderElectionConfiguration extends Object
KubernetesLeaderElector
.Constructor and Description |
---|
KubernetesLeaderElectionConfiguration(String configMapName,
String lockIdentity,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
String |
getClusterId() |
String |
getConfigMapName() |
java.time.Duration |
getLeaseDuration() |
String |
getLockIdentity() |
java.time.Duration |
getRenewDeadline() |
java.time.Duration |
getRetryPeriod() |
public KubernetesLeaderElectionConfiguration(String configMapName, String lockIdentity, Configuration config)
public String getClusterId()
public String getConfigMapName()
public String getLockIdentity()
public java.time.Duration getLeaseDuration()
public java.time.Duration getRenewDeadline()
public java.time.Duration getRetryPeriod()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.