Class StoreJob

java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.StoreJob
All Implemented Interfaces:
Job
Direct Known Subclasses:
FloodfillStoreJob

abstract class StoreJob extends JobImpl
Stores through this always request a reply. Unused directly - see FloodfillStoreJob
  • Field Details

    • _log

      protected final Log _log
    • _state

      protected final StoreState _state
    • MIN_STORE_VERSION

      public static final String MIN_STORE_VERSION
      Since:
      0.9.28
      See Also:
    • MIN_STORE_LS2_VERSION

      public static final String MIN_STORE_LS2_VERSION
      Since:
      0.9.38
      See Also:
    • MIN_STORE_ENCLS2_VERSION

      public static final String MIN_STORE_ENCLS2_VERSION
      Was supported in 38, but they're now sigtype 11 which wasn't added until 39
      Since:
      0.9.39
      See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: Job
      Descriptive name of the task
    • runJob

      public void runJob()
      Description copied from interface: Job
      Actually perform the task. This call blocks until the Job is complete.
    • getParallelization

      protected int getParallelization()
      overridden in FSJ
    • getRedundancy

      protected int getRedundancy()
      overridden in FSJ
    • shouldStoreTo

      static boolean shouldStoreTo(RouterInfo ri)
      Is it new enough?
      Since:
      0.9.33
    • shouldStoreLS2To

      static boolean shouldStoreLS2To(RouterInfo ri)
      Is it new enough?
      Since:
      0.9.38
    • shouldStoreEncLS2To

      static boolean shouldStoreEncLS2To(RouterInfo ri)
      Is it new enough?
      Since:
      0.9.39
    • succeed

      protected void succeed()
      Send was totally successful
    • fail

      protected void fail()
      Send totally failed