public class K8sDiscoveryConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
K8S_RESOURCE_NAME_REGEX |
| Constructor and Description |
|---|
K8sDiscoveryConfig(String clusterIdentifier,
String podNameEnvKey,
String podNamespaceEnvKey,
String coordinatorLeaderElectionConfigMapNamespace,
String overlordLeaderElectionConfigMapNamespace,
org.joda.time.Duration leaseDuration,
org.joda.time.Duration renewDeadline,
org.joda.time.Duration retryPeriod) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getClusterIdentifier() |
String |
getCoordinatorLeaderElectionConfigMapNamespace() |
org.joda.time.Duration |
getLeaseDuration() |
String |
getOverlordLeaderElectionConfigMapNamespace() |
String |
getPodNameEnvKey() |
String |
getPodNamespaceEnvKey() |
org.joda.time.Duration |
getRenewDeadline() |
org.joda.time.Duration |
getRetryPeriod() |
int |
hashCode() |
String |
toString() |
public static final Pattern K8S_RESOURCE_NAME_REGEX
public K8sDiscoveryConfig(String clusterIdentifier, String podNameEnvKey, String podNamespaceEnvKey, String coordinatorLeaderElectionConfigMapNamespace, String overlordLeaderElectionConfigMapNamespace, org.joda.time.Duration leaseDuration, org.joda.time.Duration renewDeadline, org.joda.time.Duration retryPeriod)
public String getClusterIdentifier()
public String getPodNameEnvKey()
public String getPodNamespaceEnvKey()
public String getCoordinatorLeaderElectionConfigMapNamespace()
public String getOverlordLeaderElectionConfigMapNamespace()
public org.joda.time.Duration getLeaseDuration()
public org.joda.time.Duration getRenewDeadline()
public org.joda.time.Duration getRetryPeriod()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.