/
krasninja
/
querycat
Обзор
Документация
Войти
/
krasninja
/
querycat
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/QueryCat.Backend/Commands/Select/Inputs/ICacheEntryStorage.cs
22 строки
625 B
Ivan Kozhin
Improve set keys condition support
19 мар 2024, 18:30
19 мар 2024, 18:30
0304179
Код
Авторство
О чём код?
using QueryCat.Backend.Storage; namespace QueryCat.Backend.Commands.Select.Inputs; /// <summary> /// The interface represents logic to store cache entries and keys dictionary. /// </summary> internal interface ICacheEntryStorage { /// <summary> /// Total entries. /// </summary> int Count { get; } /// <summary> /// Get entry by key or create a new one. /// </summary> /// <param name="key">Cache key.</param> /// <param name="entry">Cache entry.</param> /// <returns><c>True</c> if this is the new entry..</returns> bool GetOrCreateEntry(CacheKey key, out CacheEntry entry); }