async fn adjust_cache_size(&self) {
        if self.hashtable.size() > self.hashtable.capacity().overflow_mul(6).overflow_div(10) {
            let queue = self.lru_queue.lock().await;
            if let Some(pop_value) = queue.peek() {
                self.delete(pop_value.0.clone(), true).await;
            }
        }
    }
/// Adjusts cache size if the number of value in cache has exceed the threshold(0.6).
Adjusts cache size if the number of value in cache has exceed the threshold(0.6).
Adjusts cache size if the number of value in cache has exceed the threshold ( 0 . 6 ) .
async fn adjust_cache_size(&self) {
        if self.hashtable.size() > self.hashtable.capacity().overflow_mul(6).overflow_div(10) {
            let queue = self.lru_queue.lock().await;
            if let Some(pop_value) = queue.peek() {
                self.delete(pop_value.0.clone(), true).await;
            }
        }
    }
async fn adjust_cache_size ( & self ) { if self . hashtable . size ( ) > self . hashtable . capacity ( ) . overflow_mul ( 6 ) . overflow_div ( 10 ) { let queue = self . lru_queue . lock ( ) . await ; if let Some ( pop_value ) = queue . peek ( ) { self . delete ( pop_value . 0 . clone ( ) , true ) . await ; } } }
Adjusts cache size if the number of value in cache has exceed the threshold(0.6).
Adjusts cache size if the number of value in cache has exceed the threshold ( 0 . 6 ) .
&self