fn flush_metrics(&self, len: usize) {
        match self.queue {
            LogQueue::Append => LOG_FILE_COUNT.append.set(len as i64),
            LogQueue::Rewrite => LOG_FILE_COUNT.rewrite.set(len as i64),
        }
    }
/// Synchronizes current states to related metrics.
Synchronizes current states to related metrics.
Synchronizes current states to related metrics .
fn flush_metrics(&self, len: usize) {
        match self.queue {
            LogQueue::Append => LOG_FILE_COUNT.append.set(len as i64),
            LogQueue::Rewrite => LOG_FILE_COUNT.rewrite.set(len as i64),
        }
    }
fn flush_metrics ( & self , len : usize ) { match self . queue { LogQueue :: Append => LOG_FILE_COUNT . append . set ( len as i64 ) , LogQueue :: Rewrite => LOG_FILE_COUNT . rewrite . set ( len as i64 ) , } }
Synchronizes current states to related metrics.
Synchronizes current states to related metrics .
&self
len
usize