Struct hotmic::Sink[][src]

pub struct Sink<T> { /* fields omitted */ }

Metrics sink which aggregates and processes samples.

Methods

impl<T: Send + Eq + Hash + Display + Debug + Clone> Sink<T>
[src]

Gets a builder to configure a Sink instance with.

Creates a Source attached to this sink.

Creates a Controller attached to this sink.

Turns the sink, performing a single iteration of processing.

A single turn involves performing upkeep (adjusting histograms to make sure their windowing is correct) and doing a single poll to see if any new data or control messages are available.

By default, the poll delay, or how long the call to poll will wait before timing out, is set at 100ms. This is important as we want to ensure the poll eventually returns during periods of inactivity so it can be be recalled (when running via run) and perform continued upkeep.

Runs the sink endlessly.

Registers a facet with the sink.

Deregisters a facet from the sink.

Auto Trait Implementations

impl<T> Send for Sink<T> where
    T: Send

impl<T> !Sync for Sink<T>