-
public interface PendingTraceBuffer.Element
-
-
Method Summary
Modifier and Type Method Description abstract longoldestFinishedTime()abstract booleanlastReferencedNanosAgo(long nanos)abstract voidwrite()abstract DDSpangetRootSpan()abstract booleansetEnqueued(boolean enqueued)Set or clear if the {@code Element}is enqueued.abstract booleanwriteOnBufferFull()-
-
Method Detail
-
oldestFinishedTime
abstract long oldestFinishedTime()
-
lastReferencedNanosAgo
abstract boolean lastReferencedNanosAgo(long nanos)
-
write
abstract void write()
-
getRootSpan
abstract DDSpan getRootSpan()
-
setEnqueued
abstract boolean setEnqueued(boolean enqueued)
Set or clear if the
{@code Element}is enqueued. Needs to be atomic.- Parameters:
enqueued- true if the enqueued state should be set or false if it should be cleared
-
writeOnBufferFull
abstract boolean writeOnBufferFull()
-
-
-
-