public static class IndexUpdaterFactory.VersionedIndexUpdater extends Object implements IndexUpdater, Closeable
| Constructor and Description |
|---|
VersionedIndexUpdater(@NotNull String tailerName,
@NotNull SingleChronicleQueue queue,
@NotNull net.openhft.chronicle.core.values.LongValue indexValue,
@NotNull net.openhft.chronicle.core.values.LongValue indexVersionValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
net.openhft.chronicle.core.values.LongValue |
index() |
void |
update(long index)
Update the persistent index of the named tailer.
|
public VersionedIndexUpdater(@NotNull
@NotNull String tailerName,
@NotNull
@NotNull SingleChronicleQueue queue,
@NotNull
@NotNull net.openhft.chronicle.core.values.LongValue indexValue,
@NotNull
@NotNull net.openhft.chronicle.core.values.LongValue indexVersionValue)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void update(long index)
IndexUpdaterupdate in interface IndexUpdaterindex - new index valuepublic net.openhft.chronicle.core.values.LongValue index()
index in interface IndexUpdaterCopyright © 2024. All rights reserved.