func()

in syncedlru.go [96:104]


func (lru *SyncedLRU[K, V]) GetAndRefresh(key K, lifetime time.Duration) (value V, ok bool) {
	hash := lru.lru.hash(key)

	lru.mu.Lock()
	value, ok = lru.lru.getAndRefresh(hash, key, lifetime)
	lru.mu.Unlock()

	return
}