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]
pub fn with_capacity(size: usize, publish: Arc<Publish>) -> Aggregator
[src]
Build a new metric aggregation point with specified initial capacity of metrics to aggregate.
pub fn cleanup(&self)
[src]
Discard scores for ad-hoc metrics.
Trait Implementations
impl Debug for Aggregator
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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