no size restriction/lru needed

This commit is contained in:
Armin Schrenk
2025-03-21 14:49:19 +01:00
parent 37d5353f77
commit 151b35355d

View File

@@ -18,12 +18,9 @@ import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.atomic.AtomicBoolean;
//TODO: Rename to aggregator
//TODO: lru cache
@Singleton
public class FileSystemEventRegistry {
private static final int MAX_MAP_SIZE = 400;
public record Key(Vault vault, Path idPath, Class<? extends FilesystemEvent> c) {};
public record Value(FilesystemEvent mostRecentEvent, int count) {}