Michael Kolupaev
|
952aae8bc2
|
Delete test
|
2024-06-20 18:44:45 +00:00 |
|
Robert Schulze
|
bd9e38ff47
|
Incorporate review feedback
|
2024-01-11 13:53:08 +00:00 |
|
Robert Schulze
|
e9b6f413b8
|
Get rid of QueryCache::user_name
|
2024-01-09 12:24:12 +00:00 |
|
Robert Schulze
|
46b4f03669
|
Some renamings for more consistency
weight() --> sizeInBytes()
maxSize() --> maxSizeInBytes()
setMaxSize() --> setMaxSizeInBytes()
|
2023-08-22 10:48:03 +00:00 |
|
Robert Schulze
|
90355c1f25
|
Check for synchronization with TSA instead of manually
|
2023-08-22 10:47:41 +00:00 |
|
Robert Schulze
|
8cbf626d0f
|
Cosmetics
|
2023-08-21 14:08:44 +00:00 |
|
Robert Schulze
|
96c8b250ce
|
Allow to configure cache sizes at runtime
|
2023-08-21 13:51:10 +00:00 |
|
Robert Schulze
|
38d5f12a32
|
Query Cache: Implement per-user quotas
|
2023-04-23 16:13:51 +00:00 |
|
Robert Schulze
|
73afae2d3f
|
Introduce TTLCachePolicy
|
2023-03-14 09:45:20 +00:00 |
|
Robert Schulze
|
b985795593
|
Cleanup: Group ICachePolicy methods
|
2023-03-14 08:38:22 +00:00 |
|
Robert Schulze
|
e1fb25a004
|
Extend CacheBase with getWithKey() method
|
2023-03-14 08:38:22 +00:00 |
|
Robert Schulze
|
f1450923cb
|
Extend CacheBase with dump() method
|
2023-03-14 08:38:22 +00:00 |
|
Robert Schulze
|
e03618357e
|
Cleanup: Acquire lock in CacheBase::maxSize()
The upcoming TTLPolicy will likely have a runtime-configurable cache
size.
|
2023-03-14 08:38:22 +00:00 |
|
Robert Schulze
|
1d8004756a
|
Cleanup: Reuse aliases instead of redeclaring it
|
2023-03-13 15:11:12 +00:00 |
|
Robert Schulze
|
475415e421
|
Cleanup: Move on_weight_loss_function into concrete cache policies
Makes ICachePolicy a pure abstract interface
|
2023-03-13 09:20:07 +00:00 |
|
Robert Schulze
|
d165a15c58
|
Cleanup: Simplify some typedefs
|
2023-03-13 09:20:02 +00:00 |
|
Robert Schulze
|
7d5bc0d8c9
|
Cleanup: TrivialWeightFunction --> EqualWeightFunction
A true "trival" weight function would return .size() of the cache entry.
|
2023-03-13 09:19:45 +00:00 |
|
alexX512
|
62f84b88eb
|
Review fixes
|
2022-08-07 20:02:21 +00:00 |
|
alexX512
|
a238e349cd
|
Unblocking get max_size
|
2022-08-07 19:59:39 +00:00 |
|
alexX512
|
994a9fc005
|
Minor fixes
|
2022-08-07 19:59:38 +00:00 |
|
alexX512
|
50a8887ab9
|
Add [[maybe_unused]] locks and delete all objects from cache queue
|
2022-08-07 19:59:38 +00:00 |
|
alexX512
|
9940b69bd7
|
Include fix in ICachePolicy.h
|
2022-08-07 19:59:38 +00:00 |
|
alexX512
|
c606ccc75d
|
Fix formatting problems
|
2022-08-07 19:16:40 +00:00 |
|
alexX512
|
1133e42367
|
Add CacheBase clas instead of LRUCache and SLRUCache fo simpler configuration oache policiesf
|
2022-08-07 19:16:40 +00:00 |
|