foyer_common::metrics

Trait CounterOps

Source
pub trait CounterOps:
    Send
    + Sync
    + 'static
    + Debug {
    // Required method
    fn increase(&self, val: u64);
}
Expand description

Counter metric operations.

Required Methods§

Source

fn increase(&self, val: u64)

Increase record by val.

Implementors§