public final class IdUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_ID_STRING |
Modifier and Type | Method and Description |
---|---|
static String |
combineParts(String firstPart,
String separator,
String secondPart) |
static String |
getDefaultInstanceId(org.springframework.core.env.PropertyResolver resolver) |
static String |
getDefaultInstanceId(org.springframework.core.env.PropertyResolver resolver,
boolean includeHostname) |
static String |
getResolvedServiceId(org.springframework.core.env.PropertyResolver resolver)
Gets the resolved service id.
|
static String |
getUnresolvedServiceId()
Gets an the unresolved service id.
|
public static final String DEFAULT_SERVICE_ID_STRING
public static String getDefaultInstanceId(org.springframework.core.env.PropertyResolver resolver)
public static String getDefaultInstanceId(org.springframework.core.env.PropertyResolver resolver, boolean includeHostname)
public static String getResolvedServiceId(org.springframework.core.env.PropertyResolver resolver)
resolver
- A property resolvedpublic static String getUnresolvedServiceId()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.