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]
impl Aggregator
pub fn with_capacity(size: usize, publish: Arc<Publish>) -> Aggregator
[src]
pub fn with_capacity(size: usize, publish: Arc<Publish>) -> Aggregator
Build a new metric aggregation point with specified initial capacity of metrics to aggregate.
pub fn cleanup(&self)
[src]
pub fn cleanup(&self)
Discard scores for ad-hoc metrics.
Trait Implementations
impl Debug for Aggregator
[src]
impl Debug for Aggregator
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Aggregator
[src]
impl Clone for Aggregator
fn clone(&self) -> Aggregator
[src]
fn clone(&self) -> Aggregator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for Aggregator
impl Send for Aggregator
impl Sync for Aggregator
impl Sync for Aggregator