public class CustomedEurekaConfig
extends com.netflix.appinfo.MyDataCenterInstanceConfig
implements com.netflix.appinfo.EurekaInstanceConfig
| 构造器和说明 |
|---|
CustomedEurekaConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getAppname() |
java.lang.String |
getHostName(boolean refresh) |
java.lang.String |
getInstanceId() |
java.lang.String |
getIpAddress() |
java.util.Map<java.lang.String,java.lang.String> |
getMetadataMap() |
int |
getNonSecurePort() |
void |
setApplicationName(java.lang.String applicationName)
Sets the application name.
|
void |
setInstanceId(java.lang.String instanceId)
Sets the instance ID.
|
void |
setIpAddress(java.lang.String ipAddress)
Sets the IP address.
|
void |
setMetadataMap(java.util.Map<java.lang.String,java.lang.String> metadata)
Sets the application name.
|
void |
setPort(int port)
Sets the port number.
|
getAppGroupName, getASGName, getDefaultAddressResolutionOrder, getHealthCheckUrl, getHealthCheckUrlPath, getHomePageUrl, getHomePageUrlPath, getLeaseExpirationDurationInSeconds, getLeaseRenewalIntervalInSeconds, getNamespace, getSecureHealthCheckUrl, getSecurePort, getSecurePortEnabled, getSecureVirtualHostName, getStatusPageUrl, getStatusPageUrlPath, getVirtualHostName, isInstanceEnabledOnit, isNonSecurePortEnabled, shouldBroadcastPublicIpv4Addrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAppGroupName, getASGName, getDataCenterInfo, getDefaultAddressResolutionOrder, getHealthCheckUrl, getHealthCheckUrlPath, getHomePageUrl, getHomePageUrlPath, getLeaseExpirationDurationInSeconds, getLeaseRenewalIntervalInSeconds, getNamespace, getSecureHealthCheckUrl, getSecurePort, getSecurePortEnabled, getSecureVirtualHostName, getStatusPageUrl, getStatusPageUrlPath, getVirtualHostName, isInstanceEnabledOnit, isNonSecurePortEnabledpublic java.lang.String getInstanceId()
getInstanceId 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetInstanceId 在类中 com.netflix.appinfo.PropertiesInstanceConfigpublic java.lang.String getIpAddress()
getIpAddress 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetIpAddress 在类中 com.netflix.appinfo.PropertiesInstanceConfigpublic int getNonSecurePort()
getNonSecurePort 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetNonSecurePort 在类中 com.netflix.appinfo.PropertiesInstanceConfigpublic java.lang.String getAppname()
getAppname 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetAppname 在类中 com.netflix.appinfo.PropertiesInstanceConfigpublic java.lang.String getHostName(boolean refresh)
getHostName 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetHostName 在类中 com.netflix.appinfo.AbstractInstanceConfigpublic java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
getMetadataMap 在接口中 com.netflix.appinfo.EurekaInstanceConfiggetMetadataMap 在类中 com.netflix.appinfo.PropertiesInstanceConfigpublic void setInstanceId(java.lang.String instanceId)
instanceId - The unique identifier for the instance.public void setIpAddress(java.lang.String ipAddress)
ipAddress - The IP address of the instance.public void setPort(int port)
port - The port number where the service is running.public void setApplicationName(java.lang.String applicationName)
applicationName - The name of the application.public void setMetadataMap(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata - The metadata of the instanceCopyright © 2026 The Apache Software Foundation. All rights reserved.