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() |
Duration |
getLeaseDuration() |
String |
getLockIdentity() |
Duration |
getRenewDeadline() |
Duration |
getRetryPeriod() |
public KubernetesLeaderElectionConfiguration(String configMapName, String lockIdentity, Configuration config)
public String getClusterId()
public String getConfigMapName()
public String getLockIdentity()
public Duration getLeaseDuration()
public Duration getRenewDeadline()
public Duration getRetryPeriod()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.