public interface ExcerptCommon<E extends ExcerptCommon<E>>
extends net.openhft.chronicle.core.io.Closeable, net.openhft.chronicle.core.io.SingleThreadedChecked
Modifier and Type | Method and Description |
---|---|
default @Nullable File |
currentFile() |
default E |
disableThreadSafetyCheck(boolean disableThreadSafetyCheck)
Deprecated.
|
@NotNull ChronicleQueue |
queue()
Returns the backing ChronicleQueue to which this
ExcerptCommon is attached to.
|
int |
sourceId()
Returns the source id of the backing ChronicleQueue
to which this ExcerptCommon is attached to.
|
default void |
sync()
Performa sync up to the point the Appender has written or Tailer has read, if supported.
|
int sourceId()
ChronicleQueue.sourceId()
@NotNull @NotNull ChronicleQueue queue()
@Deprecated @NotNull default E disableThreadSafetyCheck(boolean disableThreadSafetyCheck)
true
this Appender or Tailer can be shared between thread provided you ensure they used in a thread safe manner.disableThreadSafetyCheck
- true to turn off the thread safety check@Nullable default @Nullable File currentFile()
default void sync()
Copyright © 2022. All rights reserved.