@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DefaultNameResolver extends NameResolver
NameResolver
that
simply uses the JVM-default name resolution functionality.Modifier and Type | Method and Description |
---|---|
static DefaultNameResolver |
getInstance()
Retrieves the singleton instance of this default name resolver.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this name resolver to the provided
buffer.
|
getAllByName, getByName, getCanonicalHostName, getHostName, getLocalHost, getLoopbackAddress, setJVMSuccessfulLookupCacheTTLSeconds, setJVMUnsuccessfulLookupCacheTTLSeconds, toString
@NotNull public static DefaultNameResolver getInstance()
public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in class NameResolver
buffer
- A buffer to which the string representation should be
appended.