Skip to content

Commit ebaa61d

Browse files
committed
add option to switch between lfu and lru cache
1 parent d4c5c11 commit ebaa61d

File tree

4 files changed

+1734
-10
lines changed

4 files changed

+1734
-10
lines changed

x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/BlobCachePlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class BlobCachePlugin extends Plugin implements ExtensiblePlugin {
1818
@Override
1919
public List<Setting<?>> getSettings() {
2020
return List.of(
21+
SharedBlobCacheService.SHARED_CACHE_TYPE,
2122
SharedBlobCacheService.SHARED_CACHE_SIZE_SETTING,
2223
SharedBlobCacheService.SHARED_CACHE_SIZE_MAX_HEADROOM_SETTING,
2324
SharedBlobCacheService.SHARED_CACHE_REGION_SIZE_SETTING,

0 commit comments

Comments
 (0)