ExperimentalRingBufferApi


@RequiresOptIn(message = "Marks APIs that are experimental for ring buffer tracing.")
@Target(allowedTargets = [AnnotationTarget.CLASSAnnotationTarget.FUNCTION])
@Retention(value = AnnotationRetention.BINARY)
public annotation ExperimentalRingBufferApi


Marks declarations in the Tracing API that are highly experimental for ring buffer tracing.

Ring buffer tracing, such as using a InMemoryRingBufferTraceSink, is particularly useful for scenarios like anomaly or crash detection. In these cases, continuous tracing is needed but only the most recent events are relevant when an anomaly occurs.

Any use of an experimental ring buffer declaration has to be carefully reviewed.

Carefully read documentation of any declaration marked as ExperimentalRingBufferApi.

Summary

Public constructors

Public constructors

ExperimentalRingBufferApi

public ExperimentalRingBufferApi()