Struct dipstick::Aggregator
[−]
[src]
pub struct Aggregator { /* fields omitted */ }
Central aggregation structure.
Since AggregateKey
s themselves contain scores, the aggregator simply maintains
a shared list of metrics for enumeration when used as source.
Methods
impl Aggregator
[src]
fn new() -> Aggregator
[src]
Build a new metric aggregation point.
fn with_capacity(size: usize) -> Aggregator
[src]
Build a new metric aggregation point with specified initial capacity of metrics to aggregate.
Trait Implementations
impl Debug for Aggregator
[src]
impl Clone for Aggregator
[src]
fn clone(&self) -> Aggregator
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsSource for Aggregator
[src]
fn as_source(&self) -> AggregateSource
[src]
Get the metric source.
impl AsSink<Aggregate, AggregateSink> for Aggregator
[src]
fn as_sink(&self) -> AggregateSink
[src]
Get the metric sink.