mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-14 08:41:28 +00:00
no size restriction/lru needed
This commit is contained in:
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user