public TorrentFilesDB()

in common/src/main/java/jetbrains/buildServer/torrent/seeder/TorrentFilesDB.java [27:37]


  public TorrentFilesDB(@NotNull File torrentsDbPath, int maxTorrents, @Nullable PathConverter pathConverter, @Nullable CacheListener cacheListener) {
    myTorrentsDbFile = torrentsDbPath;
    myPathConverter = pathConverter == null ? new SimplePathConverter() : pathConverter;
    myCacheListener = cacheListener;
    myFile2TorrentMap.set(createCache(maxTorrents));
    try {
      loadDb();
    } catch (IOException e) {
      LOG.warn("Failed to load data from torrents database, error: " + e.toString(), e);
    }
  }