public interface ExcerptCommon<E extends ExcerptCommon<E>>
extends net.openhft.chronicle.core.io.Closeable
Modifier and Type | Method and Description |
---|---|
default @Nullable File |
currentFile() |
E |
disableThreadSafetyCheck(boolean disableThreadSafetyCheck)
When set to
true this Appender or Tailer can be shared between thread provided you ensure they used in a thread safe manner. |
@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.
|
int sourceId()
ChronicleQueue.sourceId()
@NotNull @NotNull ChronicleQueue queue()
@NotNull 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()
Copyright © 2021. All rights reserved.