ISinkWithMetricsInternal
Properties
Link copied to clipboard
Whether if the endpoint is opened. For example, if the file is opened for FileSink.
Link copied to clipboard
Metrics of the element.
Functions
Link copied to clipboard
Configure the Configurable implementation.
Link copied to clipboard
Creates an EndpointMetricsTracker for this WithEndpointMetrics.
Link copied to clipboard
fun WithEndpointMetrics<*>.metricsFlow(interval: Duration = 1000.milliseconds): Flow<TrackedMetrics>
Returns a Flow that emits the BasicEndpointMetrics difference since the last emission. Every collector gets its own isolated EndpointMetricsTracker to prevent state collisions.
Link copied to clipboard
Opens the endpoint.
Link copied to clipboard
Starts frames or data stream generation Throws an exception if not ready for live stream
Link copied to clipboard
Stops frames or data stream generation
Link copied to clipboard
Writes a buffer to the ISinkInternal.