public OutputFilesCollectionSnapshotter(FileCollectionSnapshotter snapshotter, IdGenerator<Long> idGenerator,
TaskArtifactStateCacheAccess cacheAccess) {
this.snapshotter = snapshotter;
this.idGenerator = idGenerator;
this.cacheAccess = cacheAccess;
dirIdentifierCache = cacheAccess.createCache("outputFileStates", String.class, new LongSerializer());
}