public class ProcessLocalHostnamePortLookupTable extends Object implements HostnamePortLookupTable, Closeable
| Constructor and Description |
|---|
ProcessLocalHostnamePortLookupTable() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
aliases() |
void |
clear() |
void |
close() |
void |
forEach(BiConsumer<String,InetSocketAddress> consumer) |
InetSocketAddress |
lookup(String description) |
void |
put(String description,
InetSocketAddress address) |
public InetSocketAddress lookup(String description)
lookup in interface HostnamePortLookupTablepublic void clear()
clear in interface HostnamePortLookupTablepublic Set<String> aliases()
aliases in interface HostnamePortLookupTablepublic void put(String description, InetSocketAddress address)
put in interface HostnamePortLookupTablepublic void forEach(BiConsumer<String,InetSocketAddress> consumer)
forEach in interface HostnamePortLookupTablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023. All rights reserved.