public class FileBasedHostnamePortLookupTable extends net.openhft.chronicle.core.io.AbstractCloseable implements HostnamePortLookupTable, Closeable, net.openhft.chronicle.core.io.ReferenceOwner
| Constructor and Description |
|---|
FileBasedHostnamePortLookupTable() |
FileBasedHostnamePortLookupTable(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
aliases() |
void |
clear() |
void |
forEach(BiConsumer<String,InetSocketAddress> consumer) |
InetSocketAddress |
lookup(String description) |
protected void |
performClose() |
void |
put(String description,
InetSocketAddress address) |
assertCloseable, assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, disableThreadSafetyCheck, disableThreadSafetyCheck, enableCloseableTracing, gcAndWaitForCloseablesToClose, isClosed, isClosing, isInUserThread, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, singleThreadedCheckDisabled, singleThreadedCheckDisabled, singleThreadedCheckReset, threadSafetyCheck, throwExceptionIfClosed, throwExceptionIfClosedInSetter, toString, unmonitor, waitForCloseablesToClose, waitForClosed, warnAndCloseIfNotClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic FileBasedHostnamePortLookupTable()
public FileBasedHostnamePortLookupTable(String fileName)
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 HostnamePortLookupTableprotected void performClose()
performClose in class net.openhft.chronicle.core.io.AbstractCloseableCopyright © 2023. All rights reserved.