Class PersistDHT

java.lang.Object
org.klomp.snark.dht.PersistDHT

abstract class PersistDHT
extends Object
Retrieve / Store the local DHT in a file
Since:
0.9.2
  • Constructor Details

  • Method Details

    • loadDHT

      public static void loadDHT​(KRPC krpc, File file, File backupFile)
      Parameters:
      backupFile - may be null
      Since:
      0.9.6
    • loadDHT

      public static void loadDHT​(KRPC krpc, File file)
    • saveDHT

      public static void saveDHT​(DHTNodes nodes, boolean saveAll, File file)
      Parameters:
      saveAll - if true, don't check last seen time